File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,19 @@ sudo ufw default allow outgoing
1212sudo ufw allow ssh
1313sudo ufw --force enable
1414
15- sudo rm -r /opt/Gooby
16- sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby
15+ sudo rm -r /opt/. Gooby > /dev/null 2>&1
16+ sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/. Gooby
1717
18- sudo chmod +x -R /opt/Gooby/install
19- sudo chmod +x -R /opt/Gooby/menus
20- sudo chmod +x -R /opt/Gooby/scripts/bin
21- sudo chmod +x -R /opt/Gooby/scripts/cron
22- sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
23- sudo chmod 755 /bin/gooby
18+ if [ -d /opt/.Gooby ]; then
19+ sudo rm -r /opt/Gooby
20+ sudo mv /opt/.Gooby /opt/Gooby
21+ sudo chmod +x -R /opt/Gooby/install
22+ sudo chmod +x -R /opt/Gooby/menus
23+ sudo chmod +x -R /opt/Gooby/scripts/bin
24+ sudo chmod +x -R /opt/Gooby/scripts/cron
25+ sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
26+ sudo chmod 755 /bin/gooby
27+ fi
2428
2529source /opt/Gooby/menus/variables.sh
2630
You can’t perform that action at this time.
0 commit comments