From 3bc3b47ed8442c65d82e9ba0687ec2c78aa0c8e7 Mon Sep 17 00:00:00 2001 From: nivong Date: Wed, 10 Aug 2016 17:37:15 +0200 Subject: [PATCH] fix config creation Changed auth to be more specifik and added right permissions. --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index fef667bd2d..5fce474b21 100755 --- a/setup.sh +++ b/setup.sh @@ -26,7 +26,7 @@ rm -rf pgoencrypt function Pokebotconfig () { cd $pokebotpath -read -p "1.google 2.ptc +read -p "enter 1 for google or 2 for ptc " auth read -p "Input username " username @@ -37,7 +37,7 @@ Input location " location read -p "Input gmapkey " gmapkey -cp -f configs/config.json.example configs/config.json +cp -f configs/config.json.example configs/config.json && chmod 755 if [ "$auth" = "2" ] then sed -i "s/google/ptc/g" configs/config.json