Skip to content

Commit ba2b52d

Browse files
committed
shell-scripts updated
1 parent eeb7eaf commit ba2b52d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

godemon-installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/bin/sh
22

3+
wget https://github.com/nProgrammer/godemon/releases/download/2.6.1/godemon
4+
35
printf "What do you want to do? \n1. Install Godemon \n2. Update Godemon \n"
46
read OPTION
57

68
if [ "$OPTION" = "1" ]
79
then
8-
wget https://github.com/nProgrammer/godemon/releases/download/2.6.1/godemon
9-
sudo cp -r godemon /bin/godemon
10+
sudo mv -r godemon /bin/godemon
1011
sudo chmod 777 /bin/godemon
1112
elif [ "$OPTION" = "2" ]
1213
then
13-
wget https://github.com/nProgrammer/godemon/releases/download/2.6.1/godemon
1414
sudo rm -r /bin/godemon
1515
sudo mv godemon /bin/godemon
1616
sudo chmod 777 /bin/godemon

0 commit comments

Comments
 (0)