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:
parent
a92b120b62
commit
9d003d89a3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue