full path to SQL dir so command works regardless of working dir

This commit is contained in:
Matthew Saunders Brown 2024-03-05 12:17:01 -08:00
parent 86476944ae
commit f38ab28cfd

View File

@ -64,7 +64,7 @@ sed -i "s|.*sauserprefs_db_dsnw.*|\$config['sauserprefs_db_dsnw'] = 'mysql://$db
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
# load roundcube database tables # load roundcube database tables
/srv/www/html/roundcube/bin/initdb.sh --dir=SQL /srv/www/html/roundcube/bin/initdb.sh --dir=/srv/www/html/roundcube/SQL
# set permissions # set permissions
rm -r /srv/www/html/roundcube/installer/ rm -r /srv/www/html/roundcube/installer/