From f3eabec1ba025c3588ba1b17449bfeed10ac81ff Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 9 May 2016 09:30:16 +0100 Subject: [PATCH] remove all blank file creation --- init/50_configuration.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/init/50_configuration.sh b/init/50_configuration.sh index 1c850b9..e01e0f6 100644 --- a/init/50_configuration.sh +++ b/init/50_configuration.sh @@ -1,15 +1,10 @@ #!/bin/bash #Test Configuration - if test -f "/config/credentials.json"; then echo "Creds Exist"; else cp /root/NadekoBot/credentials_example.json /config/credentials.json; fi -if test -f "/config/nadekobot.sqlite"; then echo "SQlite Exist"; else echo "" > /config/nadekobot.sqlite; fi -if test -f "/config/config.json"; then echo "Config Exist"; else cp /root/NadekoBot/data/config_example.json /config/config.json; fi - #Remove Built in rm /root/NadekoBot/credentials.json #Adding Config file sym links -ln -s /config/credentials.json /root/NadekoBot/credentials.json -sudo ln -ds /config/data /root/nadekobot/data \ No newline at end of file +ln -s /config/credentials.json /root/NadekoBot/credentials.json \ No newline at end of file