Skip to content

Commit

Permalink
Update Gooby-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPerplexed authored Jan 29, 2019
1 parent 631a002 commit c0f0f06
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions install/misc/Gooby-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ CONFIRMATION

if [[ ${REPLY} =~ ^[Yy]$ ]]; then

sudo rm -r /opt/Gooby
sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby

sudo chmod +x -R /opt/Gooby/install
sudo chmod +x -R /opt/Gooby/menus
sudo chmod +x -R /opt/Gooby/scripts/bin
sudo chmod +x -R /opt/Gooby/scripts/cron
sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
sudo chmod 755 /bin/gooby
sudo rm -r /opt/.Gooby > /dev/null 2>&1
sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/.Gooby

if [ -d /opt/.Gooby ]; then
sudo rm -r /opt/Gooby
sudo mv /opt/.Gooby /opt/Gooby
sudo chmod +x -R /opt/Gooby/install
sudo chmod +x -R /opt/Gooby/menus
sudo chmod +x -R /opt/Gooby/scripts/bin
sudo chmod +x -R /opt/Gooby/scripts/cron
sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
sudo chmod 755 /bin/gooby
fi

clear

Expand Down

0 comments on commit c0f0f06

Please sign in to comment.