mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-27 02:10:18 +00:00
Update filebrowser.sh
This commit is contained in:
parent
414a6617f8
commit
81a64c2cff
@ -26,7 +26,7 @@ INFO="${BL}ℹ️${CL}"
|
|||||||
APP="FileBrowser"
|
APP="FileBrowser"
|
||||||
INSTALL_PATH="/usr/local/bin/filebrowser"
|
INSTALL_PATH="/usr/local/bin/filebrowser"
|
||||||
SERVICE_PATH="/etc/systemd/system/filebrowser.service"
|
SERVICE_PATH="/etc/systemd/system/filebrowser.service"
|
||||||
DB_PATH="/var/lib/filebrowser/filebrowser.db"
|
DB_PATH="/usr/local/community-scripts/filebrowser.db"
|
||||||
IP=$(hostname -I | awk '{print $1}')
|
IP=$(hostname -I | awk '{print $1}')
|
||||||
DEFAULT_PORT=8080
|
DEFAULT_PORT=8080
|
||||||
|
|
||||||
@ -82,9 +82,9 @@ if [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
|
|||||||
msg_ok "Installed ${APP}"
|
msg_ok "Installed ${APP}"
|
||||||
|
|
||||||
msg_info "Creating FileBrowser directory"
|
msg_info "Creating FileBrowser directory"
|
||||||
mkdir -p /var/lib/filebrowser
|
mkdir -p /usr/local/community-scripts
|
||||||
chown root:root /var/lib/filebrowser
|
chown root:root /usr/local/community-scripts
|
||||||
chmod 755 /var/lib/filebrowser
|
chmod 755 /usr/local/community-scripts
|
||||||
msg_ok "Directory created successfully"
|
msg_ok "Directory created successfully"
|
||||||
|
|
||||||
read -r -p "Would you like to use No Authentication? (y/N): " auth_prompt
|
read -r -p "Would you like to use No Authentication? (y/N): " auth_prompt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user