expect RESTORE_SCHEMA in SCRIPT_ROOT

legacy-php5
Andrew Dolgov 4 years ago
parent 7529767f49
commit ef24fccd6f

@ -62,7 +62,7 @@ done
$PSQL -c "create extension if not exists pg_trgm" $PSQL -c "create extension if not exists pg_trgm"
RESTORE_SCHEMA=/var/www/html/tt-rss/backups/restore-schema.sql.gz RESTORE_SCHEMA=${SCRIPT_ROOT}/restore-schema.sql.gz
if [ -r $RESTORE_SCHEMA ]; then if [ -r $RESTORE_SCHEMA ]; then
zcat $RESTORE_SCHEMA | $PSQL zcat $RESTORE_SCHEMA | $PSQL

Loading…
Cancel
Save