Skip to content

Commit

Permalink
Added ability to change local timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Geo Van O committed Sep 26, 2013
1 parent 163339a commit 958620f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ else
echo "Disk usage is $free_percentage, free disk space is $free_readable. Enough to install BrewPi"
fi

date=$(date)
read -p "The time is currently set to $date. Is this correct? [Y/n]" choice
case "$choice" in
n | N | no | NO | No )
sudo dpkg-reconfigure tzdata;;
* )
esac


############
### Now for the install!
############

echo "Any data in the following location will be ERASED during install!"
read -p "Where would you like to install BrewPi? [/home/brewpi]: " installPath
Expand Down

0 comments on commit 958620f

Please sign in to comment.