apt-get update

This commit is contained in:
Matthew Saunders Brown 2021-04-21 11:17:21 -07:00
parent f16d7d0c2c
commit 8aeb672155

View File

@ -42,6 +42,8 @@ dbuser=`grep -m 1 user /var/vmail/.my.cnf |cut -d = -f 2|cut -d ' ' -f 2`
dbpass=`grep -m 1 password /var/vmail/.my.cnf |cut -d = -f 2|cut -d ' ' -f 2` dbpass=`grep -m 1 password /var/vmail/.my.cnf |cut -d = -f 2|cut -d ' ' -f 2`
sed -i "s|.*db_dsnw.*|\$config['db_dsnw'] = 'mysql://$dbuser:$vmail_password@$dbhost/$dbdatabase';|g" /srv/www/html/roundcube/config/config.inc.php sed -i "s|.*db_dsnw.*|\$config['db_dsnw'] = 'mysql://$dbuser:$vmail_password@$dbhost/$dbdatabase';|g" /srv/www/html/roundcube/config/config.inc.php
apt-get update
# make sure pwgen is installed # make sure pwgen is installed
apt-get -qq -y install pwgen apt-get -qq -y install pwgen