Added flag to add-apt-repository -n
This flag disables updating the package cache after adding a ppa. Running apt-update afterwards is now mandatory!
This commit is contained in:
@@ -53,7 +53,6 @@ domainwww=0
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##---------------##
|
##---------------##
|
||||||
# Functions #
|
# Functions #
|
||||||
##---------------##
|
##---------------##
|
||||||
@@ -404,9 +403,9 @@ msg " Preconfiguring"
|
|||||||
sed -i '/Port 22/c\Port 4242' /etc/ssh/sshd_config
|
sed -i '/Port 22/c\Port 4242' /etc/ssh/sshd_config
|
||||||
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
|
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
|
||||||
$PKGA universe -y > $OUTPUT 2>&1
|
$PKGA universe -y > $OUTPUT 2>&1
|
||||||
$PKGA ppa:ondrej/php -y > $OUTPUT 2>&1
|
$PKGA ppa:ondrej/php -y -n > $OUTPUT 2>&1
|
||||||
$PKGA ppa:certbot/certbot -y > $OUTPUT 2>&1
|
$PKGA ppa:certbot/certbot -y -n > $OUTPUT 2>&1
|
||||||
$PKGA ppa:chris-lea/redis-server -y > $OUTPUT 2>&1
|
$PKGA ppa:chris-lea/redis-server -y -n > $OUTPUT 2>&1
|
||||||
$PKGM update
|
$PKGM update
|
||||||
$PKGM upgrade -y
|
$PKGM upgrade -y
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user