File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 561561# Installing Nginx repo
562562if [ " $nginx " = ' yes' ]; then
563563 echo " (*) NGINX"
564- if [ -e $apt /nginx.list ]; then
565- rm $apt /nginx.list
566- fi
567564 echo " deb [arch=amd64] http://nginx.org/packages/mainline/$VERSION / $codename nginx" \
568565 > $apt /nginx.list
569566 wget --quiet http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
@@ -581,7 +578,7 @@ if [ "$apache" = 'yes' ]; then
581578fi
582579
583580# Installing MariaDB repo
584- if [ " $mysql " = ' yes' ]; then
581+ if [ " $mysql " = ' yes' ] && [ " $release " != " 20.04 " ] ; then
585582 echo " (*) MariaDB"
586583 echo " deb [arch=amd64] http://ams2.mirrors.digitalocean.com/mariadb/repo/$mariadb_v /$VERSION $codename main" > $apt /mariadb.list
587584 APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments