File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,19 @@ CONFIRMATION
88
99if [[ ${REPLY} =~ ^[Yy]$ ]]; then
1010
11- sudo rm -r /opt/Gooby
12- sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby
13-
14- sudo chmod +x -R /opt/Gooby/install
15- sudo chmod +x -R /opt/Gooby/menus
16- sudo chmod +x -R /opt/Gooby/scripts/bin
17- sudo chmod +x -R /opt/Gooby/scripts/cron
18- sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
19- sudo chmod 755 /bin/gooby
11+ sudo rm -r /opt/.Gooby > /dev/null 2>&1
12+ sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/.Gooby
13+
14+ if [ -d /opt/.Gooby ]; then
15+ sudo rm -r /opt/Gooby
16+ sudo mv /opt/.Gooby /opt/Gooby
17+ sudo chmod +x -R /opt/Gooby/install
18+ sudo chmod +x -R /opt/Gooby/menus
19+ sudo chmod +x -R /opt/Gooby/scripts/bin
20+ sudo chmod +x -R /opt/Gooby/scripts/cron
21+ sudo rsync -a /opt/Gooby/scripts/bin/gooby /bin
22+ sudo chmod 755 /bin/gooby
23+ fi
2024
2125 clear
2226
You can’t perform that action at this time.
0 commit comments