Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPerplexed authored Jan 29, 2019
1 parent c0f0f06 commit 17fbb24
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw --force enable

sudo rm -r /opt/Gooby
sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby
sudo rm -r /opt/.Gooby > /dev/null 2>&1
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
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

source /opt/Gooby/menus/variables.sh

Expand Down

0 comments on commit 17fbb24

Please sign in to comment.