sauserprefs_db_dsnw sed fix

This commit is contained in:
Matthew Saunders Brown 2021-04-21 12:51:55 -07:00
parent ba1e092b41
commit 4966dee974

View File

@ -53,7 +53,7 @@ sed -i "s|.*des_key.*|\$config['des_key'] = '$des_key';|g" /srv/www/html/roundcu
# install plugins / configs # install plugins / configs
cp -a plugins/* /srv/www/html/roundcube/plugins/ 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 # create tmp files storage dir
install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundcube install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundcube