From 8aeb672155c5a73eae3139d81e1a2e95c0b1d6ca Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 21 Apr 2021 11:17:21 -0700 Subject: [PATCH] apt-get update --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 19e9c8a..4671cdb 100644 --- a/install.sh +++ b/install.sh @@ -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` 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 apt-get -qq -y install pwgen