Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2024-04-11 17:12:30 +10:00
3 changed files with 43 additions and 40 deletions
+1
View File
@@ -65,6 +65,7 @@ function msg_ok() {
read -r -p "Would you like to use No Authentication? <y/N> " 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