Skip to content

Commit

Permalink
fix config creation (#3482)
Browse files Browse the repository at this point in the history
Changed auth to be more specifik and added right permissions.
  • Loading branch information
nivong authored and solderzzc committed Aug 10, 2016
1 parent 558540e commit 99187ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 99187ab

Please sign in to comment.