From 9d003d89a392e9f00e5e45fbea6e83893328250c Mon Sep 17 00:00:00 2001 From: Eggbertx Date: Tue, 24 Sep 2024 16:14:52 -0700 Subject: [PATCH] Add missing backslash for multi-line command in legacy version downloader --- tools/get_previous_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/get_previous_version.sh b/tools/get_previous_version.sh index 49323979..0586a0bf 100755 --- a/tools/get_previous_version.sh +++ b/tools/get_previous_version.sh @@ -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