Update 'MySQL-ModInst.sh'

This commit is contained in:
Bram Prieshof
2020-12-02 13:39:59 +01:00
parent b2236f9004
commit f1cf3f8155

View File

@@ -90,7 +90,10 @@ curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Genera
##-------------------------##
# Generating APT list #
##-------------------------##
#Webserver specific aptList
#Remove existing pkgList
rm -f /tmp/pkg.list
#General pkgList
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$mtype"/generic.pkg.list; then
curl "$mtype"/generic.pkg.list >>/tmp/pkg.list
fi
@@ -111,6 +114,7 @@ $PKGM upgrade -y
if curl --retry 2 --retry-delay 1 --output /dev/null --silent --head --fail "$mtype"/preconf.sh; then
source <(curl --retry 7 --retry-delay 5 -s "$mtype"/preconf.sh)
printf " " >>/tmp/pkg.list
fi
##-------------##