From 4f2700aad99f5847954e600c4f90d79c23942af9 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Wed, 18 Mar 2020 11:17:34 +0100 Subject: [PATCH] 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! --- installer.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/installer.sh b/installer.sh index b65f3c5..a03c4fa 100644 --- a/installer.sh +++ b/installer.sh @@ -53,7 +53,6 @@ domainwww=0 fi - ##---------------## # Functions # ##---------------## @@ -404,9 +403,9 @@ msg " Preconfiguring" sed -i '/Port 22/c\Port 4242' /etc/ssh/sshd_config $PKGI software-properties-common gnupg > $OUTPUT 2>&1 $PKGA universe -y > $OUTPUT 2>&1 -$PKGA ppa:ondrej/php -y > $OUTPUT 2>&1 -$PKGA ppa:certbot/certbot -y > $OUTPUT 2>&1 -$PKGA ppa:chris-lea/redis-server -y > $OUTPUT 2>&1 +$PKGA ppa:ondrej/php -y -n > $OUTPUT 2>&1 +$PKGA ppa:certbot/certbot -y -n > $OUTPUT 2>&1 +$PKGA ppa:chris-lea/redis-server -y -n > $OUTPUT 2>&1 $PKGM update $PKGM upgrade -y