mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-05-10 18:06:08 +02:00
Only create blank config if it doesn't exist
This commit is contained in:
parent
5139c7aaf0
commit
eee44e611b
1 changed files with 2 additions and 2 deletions
|
@ -4,9 +4,9 @@ echo 'Entrypoint script'
|
|||
cd /usr/src/app
|
||||
|
||||
# blank config, use defaults
|
||||
cat <<EOF > config.json
|
||||
test -e config.json || cat <<EOF > config.json
|
||||
{
|
||||
}
|
||||
EOF
|
||||
|
||||
node dist/src/index.js
|
||||
node dist/src/index.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue