mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-03-08 13:19:05 +00:00
Update filebrowser.sh
This commit is contained in:
parent
1c808b95a8
commit
a1dd57ded6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user