update
This commit is contained in:
1 parent
0c562a85b5
commit
d1d0cc7b80
1 file changed
+2
-2
@@ -77,7 +77,7 @@ deb $SEC_URL $OS_CODE-security main contrib non-free non-free-firmware
|
|||||||
command="nala"
|
command="nala"
|
||||||
apt update
|
apt update
|
||||||
apt install $command || command="apt"
|
apt install $command || command="apt"
|
||||||
$command install ca-certificates curl gnupg lsb-release zsh
|
$command install -y ca-certificates curl gnupg lsb-release zsh
|
||||||
|
|
||||||
|
|
||||||
if [[ $OS_VERSION=="12" ]]; then
|
if [[ $OS_VERSION=="12" ]]; then
|
||||||
@@ -122,7 +122,7 @@ install_pkg(){
|
|||||||
command -v $command &>/dev/null || command="apt"
|
command -v $command &>/dev/null || command="apt"
|
||||||
$command update
|
$command update
|
||||||
test -r "$PKG_BASE"
|
test -r "$PKG_BASE"
|
||||||
xargs -a <(awk '! /^ *(#|$)/' "$PKG_BASE") -r $command install
|
xargs -a <(awk '! /^ *(#|$)/' "$PKG_BASE") -r $command install -y
|
||||||
}
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
|
|||||||
Reference in new issue
Block a user