From a1dd57ded63f71db6581787f5cb7f1dec91e90ba Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:46:10 +0100 Subject: [PATCH] Update filebrowser.sh --- misc/filebrowser.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/filebrowser.sh b/misc/filebrowser.sh index d5b06bbda..df49b9e84 100644 --- a/misc/filebrowser.sh +++ b/misc/filebrowser.sh @@ -26,7 +26,7 @@ INFO="${BL}ℹ️${CL}" APP="FileBrowser" INSTALL_PATH="/usr/local/bin/filebrowser" SERVICE_PATH="/etc/systemd/system/filebrowser.service" -DB_PATH="/root/filebrowser.db" +DB_PATH="/var/lib/filebrowser/filebrowser.db" IP=$(hostname -I | awk '{print $1}') header_info @@ -52,6 +52,7 @@ if [ -f "$INSTALL_PATH" ]; then msg_info "Uninstalling ${APP}" systemctl disable -q --now filebrowser.service rm -f "$INSTALL_PATH" "$DB_PATH" "$SERVICE_PATH" + msg_ok "${APP} has been uninstalled." exit 0 fi