mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update filebrowser.sh
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user