Skip to content

Commit

Permalink
changed to full path
Browse files Browse the repository at this point in the history
  • Loading branch information
adangert committed May 4, 2019
1 parent 84ea2c4 commit ace03ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ setup() {
sudo grep -qxF 'dtoverlay=pi3-disable-bt' /boot/config.txt || echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
sudo systemctl disable hciuart || exit -1

uname2="$(stat --format '%U' 'setup.sh')"
uname2="$(stat --format '%U' '/home/pi/JoustMania/setup.sh')"
if [ "${uname2}" = "root" ]; then
sudo chown -R pi:pi /home/pi/JoustMania/
espeak "permisions updated, please wait after reboot for Joustmania to start"
Expand Down

0 comments on commit ace03ce

Please sign in to comment.