From 4fecdcaa6a438bf024701a0f1773e31104922475 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 10 Apr 2024 20:02:02 -0400 Subject: [PATCH] Update filebrowser.sh add `curl` --- misc/filebrowser.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/filebrowser.sh b/misc/filebrowser.sh index f15d0537..c4cc0e8d 100644 --- a/misc/filebrowser.sh +++ b/misc/filebrowser.sh @@ -65,6 +65,7 @@ function msg_ok() { read -r -p "Would you like to use No Authentication? " prompt msg_info "Installing ${APP}" +apt-get install -y curl &>/dev/null 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/$RELEASE/linux-amd64-filebrowser.tar.gz | tar -xzv -C /usr/local/bin &>/dev/null