Skip to content

Commit 545b4b5

Browse files
committed
Add missing key for mariadb on debian 8
1 parent 6d7634e commit 545b4b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install/hst-install-debian.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,11 @@ fi
534534

535535
# Installing MariaDB repo
536536
echo "deb http://ams2.mirrors.digitalocean.com/mariadb/repo/10.3/$VERSION $codename main" > $apt/mariadb.list
537-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 > /dev/null 2>&1
537+
if [ "$release" -eq 9 ]; then
538+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F1656F24C74CD1D8 > /dev/null 2>&1
539+
else
540+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CBCB082A1BB943DB > /dev/null 2>&1
541+
fi
538542

539543
# Installing hestia repo
540544
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list

0 commit comments

Comments
 (0)