add source
This commit is contained in:
parent
cd63a55d33
commit
04ddae5b54
3 changed files with 271 additions and 0 deletions
18
uninstall.sh
Normal file
18
uninstall.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Remove /usr/local/bin/asngecko
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DEST="/usr/local/bin/asngecko"
|
||||
|
||||
if [[ -f "$DEST" ]]; then
|
||||
echo "Removing $DEST …"
|
||||
rm -f "$DEST"
|
||||
echo "Uninstalled."
|
||||
echo syncing file system...
|
||||
sudo sync
|
||||
echo done
|
||||
else
|
||||
echo "Nothing to do – $DEST not found."
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue