1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-27 11:26:22 -07:00

Add missing backslash for multi-line command in legacy version downloader

This commit is contained in:
Eggbertx 2024-09-24 16:14:52 -07:00
parent a92b120b62
commit 9d003d89a3

View file

@ -39,7 +39,7 @@ sed -i gochan.json \
-e 's/"SiteSlogan": ""/"SiteSlogan": "Gochan instance used for testing gochan-migrate -updatedb"/' \
-e 's/"DebugMode": false/"DebugMode": true/' \
-e 's/"Verbosity": 0/"Verbosity": 1/' \
-e 's/"GeoIPType": .*/"GeoIPType": "",/'
-e 's/"GeoIPType": .*/"GeoIPType": "",/' \
-e 's/"EnableGeoIP": .*/"EnableGeoIP": false,/'
if [ "$DBTYPE" = "mysql" ]; then
@ -48,7 +48,7 @@ if [ "$DBTYPE" = "mysql" ]; then
CREATE DATABASE IF NOT EXISTS gochan_prev;
GRANT USAGE ON *.* TO gochan IDENTIFIED BY 'gochan'; \
GRANT ALL PRIVILEGES ON gochan_prev.* TO gochan; \
SET PASSWORD FOR 'gochan'@'%' = PASSWORD('gochan');
SET PASSWORD FOR 'gochan'@'%' = PASSWORD('gochan'); \
FLUSH PRIVILEGES;
EOF1
elif [ "$DBTYPE" = "postgresql" ]; then