From ab394e04aba4696e205e20306a99bf940f4bd296 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 8 Sep 2023 06:02:47 -0400 Subject: [PATCH] Update filebrowser.sh use latest --- misc/filebrowser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/filebrowser.sh b/misc/filebrowser.sh index 81958d23..b4e40fd1 100644 --- a/misc/filebrowser.sh +++ b/misc/filebrowser.sh @@ -68,7 +68,7 @@ function msg_ok() { msg_info "Installing ${APP}" RELEASE=$(curl -fsSL https://api.github.com/repos/filebrowser/filebrowser/releases/latest | grep -o '"tag_name": ".*"' | sed 's/"//g' | sed 's/tag_name: //g') -curl -fsSL https://github.com/filebrowser/filebrowser/releases/download/v2.23.0/linux-amd64-filebrowser.tar.gz | tar -xzv -C /usr/local/bin &>/dev/null +curl -fsSL https://github.com/filebrowser/filebrowser/releases/download/$RELEASE/linux-amd64-filebrowser.tar.gz | tar -xzv -C /usr/local/bin &>/dev/null filebrowser config init -a '0.0.0.0' &>/dev/null filebrowser config set -a '0.0.0.0' &>/dev/null filebrowser users add admin changeme --perm.admin &>/dev/null