From cb9b464a990548e66bc016d99792ae6a16add365 Mon Sep 17 00:00:00 2001 From: Cametendo Date: Fri, 24 Apr 2026 07:58:00 +0200 Subject: [PATCH] Added uninstall.sh --- uninstall.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..dbc13fc --- /dev/null +++ b/uninstall.sh @@ -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."