Skip to content

Commit

Permalink
StartingPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiKod committed Jan 9, 2025
1 parent 51e5748 commit 433b828
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 999 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<p align="center">
<img src="sherpa.png" alt="Sh:erpa Logo"/>
</p>

### Let's make scripting, a Fun adventure.

Expand Down
2 changes: 2 additions & 0 deletions __paths.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
/home/andikod/.sherpa/src/commands/test.sh
/home/andikod/.sherpa/src/commands/install.sh
/home/andikod/.sherpa/src/commands/uninstall.sh
/home/andikod/.sherpa/src/commands/update.sh
/home/andikod/.sherpa/src/commands/self_update.sh
5 changes: 3 additions & 2 deletions bin/sherpa
Original file line number Diff line number Diff line change
Expand Up @@ -963,12 +963,12 @@ root="${SCD}/bbr/bin/${box_name}"
exe="$(get_yaml_item "package.executable" "${root}/Sherpa.yaml")"
link="${SDD}/bin/${exe}"
if [ "$#" -ne 2 ]; then
echo "Usage: $0 uninstall <boxName>"
echo "Usage: sherpa uninstall <boxName>"
exit 1
fi
confirm "Do you really want to uninstall ${box_name}?"
br
h2 " Allright, pal, let's clean a little..."
h2 " Allright, let's clean a little..."
br
[[ -L "$link" ]] && rm "$HOME/.sherpa/bin/${exe}"
p "${txtGreen}-${x} Removed symlink: ${em}${exe}${x}"
Expand All @@ -978,6 +978,7 @@ remove_yaml_item "$box_name" "$register"
p "${txtGreen}-${x} Removed register entry: ${em}${box_name}${x}"
br
p "${btnSuccess} Done! ${x} ${strong}${box_name}${x} just left the camp"
br
fi
if [[ "$1" == "update" ]]; then # update
boxName="$2"
Expand Down
Loading

0 comments on commit 433b828

Please sign in to comment.