mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
Update vst-install-debian.sh
This commit is contained in:
parent
a86f76de09
commit
8bdfade3d4
1 changed files with 30 additions and 25 deletions
|
@ -753,6 +753,7 @@ if [ "$mysql" = 'no' ]; then
|
||||||
fi
|
fi
|
||||||
if [ "$mysql8" = 'yes' ]; then
|
if [ "$mysql8" = 'yes' ]; then
|
||||||
echo "=== Preparing MySQL 8 apt repo"
|
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-daemon-heavy//')
|
||||||
software=$(echo "$software" | sed -e 's/exim4//')
|
software=$(echo "$software" | sed -e 's/exim4//')
|
||||||
#software="$software php-mysql roundcube-mysql"
|
#software="$software php-mysql roundcube-mysql"
|
||||||
|
@ -778,6 +779,10 @@ if [ "$mysql8" = 'yes' ]; then
|
||||||
gpgconf --kill all
|
gpgconf --kill all
|
||||||
rm -rf "${GNUPGHOME}"
|
rm -rf "${GNUPGHOME}"
|
||||||
unset 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)
|
mpass=$(gen_pass)
|
||||||
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $mpass"
|
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $mpass"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue