We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c808b9 commit a1dd57dCopy full SHA for a1dd57d
misc/filebrowser.sh
@@ -26,7 +26,7 @@ INFO="${BL}ℹ️${CL}"
26
APP="FileBrowser"
27
INSTALL_PATH="/usr/local/bin/filebrowser"
28
SERVICE_PATH="/etc/systemd/system/filebrowser.service"
29
-DB_PATH="/root/filebrowser.db"
+DB_PATH="/var/lib/filebrowser/filebrowser.db"
30
IP=$(hostname -I | awk '{print $1}')
31
header_info
32
@@ -52,6 +52,7 @@ if [ -f "$INSTALL_PATH" ]; then
52
msg_info "Uninstalling ${APP}"
53
systemctl disable -q --now filebrowser.service
54
rm -f "$INSTALL_PATH" "$DB_PATH" "$SERVICE_PATH"
55
+
56
msg_ok "${APP} has been uninstalled."
57
exit 0
58
fi
0 commit comments