Skip to content

Commit

Permalink
Add missing backslash for multi-line command in legacy version downlo…
Browse files Browse the repository at this point in the history
…ader
  • Loading branch information
Eggbertx committed Sep 24, 2024
1 parent a92b120 commit 9d003d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/get_previous_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9d003d8

Please sign in to comment.