update
This commit is contained in:
2 files changed
+6
-12
No files matched your search
@@ -9,6 +9,9 @@ case $OS_CODE in
|
||||
bookworm) OS_VERSION="12" ;;
|
||||
Trixie) OS_VERSION="13" ;;
|
||||
esac
|
||||
if [ -z $OS_VERSION ]; then
|
||||
echo "Unsupported Debian Code: $OS_CODE" && exit 1
|
||||
fi
|
||||
DISTRO_PVE=$((command -v pvesh &>/dev/null && echo 1) || echo 0)
|
||||
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
@@ -101,11 +104,7 @@ config(){
|
||||
apt list nala ca-certificates curl gnupg gpg lsb-release git zsh | awk -F'/' '/\// {print $1}' | xargs -r apt install --no-install-recommends -y
|
||||
set_pkg_source
|
||||
apt update
|
||||
if $1; then
|
||||
$AWD/configure.sh
|
||||
else
|
||||
$AWD/configure.sh -n
|
||||
fi
|
||||
$AWD/configure.sh
|
||||
}
|
||||
|
||||
usage(){
|
||||
@@ -139,7 +138,7 @@ while getopts ":f:cm:" OPT; do
|
||||
esac;
|
||||
done;
|
||||
|
||||
config $DO_INSTALL
|
||||
config
|
||||
if $DO_INSTALL; then
|
||||
$AWD/install.sh $PKG_BASE
|
||||
fi
|
||||
Reference in new issue
Block a user