Update vst-install-debian.sh

This commit is contained in:
myvesta 2025-04-16 23:55:21 +02:00 committed by myvesta
parent a86f76de09
commit 8bdfade3d4

View file

@ -753,6 +753,7 @@ if [ "$mysql" = 'no' ]; then
fi
if [ "$mysql8" = 'yes' ]; then
echo "=== Preparing MySQL 8 apt repo"
if [ "$release" -lt 12 ]; then
software=$(echo "$software" | sed -e 's/exim4-daemon-heavy//')
software=$(echo "$software" | sed -e 's/exim4//')
#software="$software php-mysql roundcube-mysql"
@ -778,6 +779,10 @@ if [ "$mysql8" = 'yes' ]; then
gpgconf --kill all
rm -rf "${GNUPGHOME}"
unset GNUPGHOME
else
wget https://dev.mysql.com/get/mysql-apt-config_0.8.30-1_all.deb
dpkg -i mysql-apt-config_0.8.30-1_all.deb
fi
mpass=$(gen_pass)
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $mpass"