Migrating Pre-Requirements to generic
This commit is contained in:
17
installer.sh
17
installer.sh
@@ -395,25 +395,12 @@ if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$re
|
||||
fi
|
||||
|
||||
|
||||
##--------------------##
|
||||
# Pre-Requirements #
|
||||
##--------------------##
|
||||
|
||||
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 -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
|
||||
|
||||
|
||||
##-------------------##
|
||||
# Pre-configuring #
|
||||
##-------------------##
|
||||
|
||||
msg " Preconfiguring"
|
||||
|
||||
echo "Running preconf for generic"
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/CoreModules/generic/preconf.sh)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user