File tree Expand file tree Collapse file tree 5 files changed +11
-999
lines changed
Expand file tree Collapse file tree 5 files changed +11
-999
lines changed Original file line number Diff line number Diff line change 1+ <p align =" center " >
2+ <img src="sherpa.png" alt="Sh:erpa Logo"/>
3+ </p >
14
25### Let's make scripting, a Fun adventure.
36
Original file line number Diff line number Diff line change 1717/home/andikod/.sherpa/src/commands/test.sh
1818/home/andikod/.sherpa/src/commands/install.sh
1919/home/andikod/.sherpa/src/commands/uninstall.sh
20+ /home/andikod/.sherpa/src/commands/update.sh
21+ /home/andikod/.sherpa/src/commands/self_update.sh
Original file line number Diff line number Diff line change @@ -963,12 +963,12 @@ root="${SCD}/bbr/bin/${box_name}"
963963exe=" $( get_yaml_item " package.executable" " ${root} /Sherpa.yaml" ) "
964964link=" ${SDD} /bin/${exe} "
965965if [ " $# " -ne 2 ]; then
966- echo " Usage: $0 uninstall <boxName>"
966+ echo " Usage: sherpa uninstall <boxName>"
967967exit 1
968968fi
969969confirm " Do you really want to uninstall ${box_name} ?"
970970br
971- h2 " Allright, pal, let's clean a little..."
971+ h2 " Allright, let's clean a little..."
972972br
973973[[ -L " $link " ]] && rm " $HOME /.sherpa/bin/${exe} "
974974p " ${txtGreen} -${x} Removed symlink: ${em}${exe}${x} "
@@ -978,6 +978,7 @@ remove_yaml_item "$box_name" "$register"
978978p " ${txtGreen} -${x} Removed register entry: ${em}${box_name}${x} "
979979br
980980p " ${btnSuccess} Done! ${x} ${strong}${box_name}${x} just left the camp"
981+ br
981982fi
982983if [[ " $1 " == " update" ]]; then # update
983984boxName=" $2 "
You can’t perform that action at this time.
0 commit comments