From 4966dee974d3f425ef86bd2699154c8ebcee668c Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 21 Apr 2021 12:51:55 -0700 Subject: [PATCH] sauserprefs_db_dsnw sed fix --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a323fce..ee353b8 100644 --- a/install.sh +++ b/install.sh @@ -53,7 +53,7 @@ sed -i "s|.*des_key.*|\$config['des_key'] = '$des_key';|g" /srv/www/html/roundcu # install plugins / configs cp -a plugins/* /srv/www/html/roundcube/plugins/ -sed -i "s|.*sauserprefs_db_dsnw*|\$config['sauserprefs_db_dsnw'] = 'mysql://$dbuser:$dbpass@$dbhost/$dbdatabase';|g" /srv/www/html/roundcube/plugins/sauserprefs/config.inc.php +sed -i "s|.*sauserprefs_db_dsnw.*|\$config['sauserprefs_db_dsnw'] = 'mysql://$dbuser:$dbpass@$dbhost/$dbdatabase';|g" /srv/www/html/roundcube/plugins/sauserprefs/config.inc.php # create tmp files storage dir install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundcube