Added uninstall.sh
This commit is contained in:
12
uninstall.sh
Executable file
12
uninstall.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Uninstall script for cflash
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "Please run as root to uninstall globally."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f /usr/local/bin/cflash
|
||||
rm -rf /usr/local/lib/cflash
|
||||
|
||||
echo "cflash uninstalled successfully."
|
||||
Reference in New Issue
Block a user