Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
4265cebd
Commit
4265cebd
authored
Nov 19, 2020
by
Davide Aprea
Browse files
fix sumas fallback
parent
37081d97
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
init.sh
View file @
4265cebd
...
@@ -7,12 +7,12 @@ if [ ! -f "/data/.env" ]; then
...
@@ -7,12 +7,12 @@ if [ ! -f "/data/.env" ]; then
cp
/data/.env.example /data/.env
cp
/data/.env.example /data/.env
fi
fi
if
[
!
-f
"/config/sumas.json"
]
;
then
if
[
!
-f
"/
data/
config/sumas.json"
]
;
then
cp
/config/sumas.json.example /config/sumas.json
cp
/data
/config/sumas.json.example
/data
/config/sumas.json
fi
fi
if
[
!
-f
"/config/sumasEn.json"
]
;
then
if
[
!
-f
"/
data/
config/sumasEn.json"
]
;
then
cp
/config/sumas.json.example /config/sumasEn.json
cp
/data
/config/sumas.json.example
/data
/config/sumasEn.json
fi
fi
if
[
-f
"/data/database/useragents.sqlite"
]
;
then
if
[
-f
"/data/database/useragents.sqlite"
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment