fix path to sql file

This commit is contained in:
Matthew Saunders Brown 2022-08-29 17:05:33 -07:00
parent 7e462b08e0
commit 0582919f0d

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
# prefix roundcubemail mysql tables with rc_
cp /srv/www/html/roundcube/installer/SQL/mysql.initial.sql $installer_dir/rc.sql
cp /srv/www/html/roundcube/SQL/mysql.initial.sql $installer_dir/rc.sql
tables=(`grep TABLE rc.sql |cut -d \\\` -f 2`)
for table in "${!tables[@]}"
do