chore: fmt

This commit is contained in:
Muhammad Atif Ali
2023-10-04 00:39:50 +03:00
committed by GitHub
parent 2c94c82cbf
commit 9f110e6e63
4 changed files with 11 additions and 14 deletions

View File

@@ -5,17 +5,17 @@ printf "$${BOLD}Installing filebrowser \n\n"
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
echo "🥳 Installation comlete! \n\n"
printf "🥳 Installation comlete! \n\n"
echo "👷 Starting filebrowser in background... \n\n"
printf "👷 Starting filebrowser in background... \n\n"
ROOT_DIR=${FOLDER}
ROOT_DIR=$${ROOT_DIR/\~/$HOME}
echo "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n"
printf "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n"
echo "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n"
printf "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n"
filebrowser --noauth --root $ROOT_DIR --port ${PORT} >${LOG_PATH} 2>&1 &
echo "📝 Logs at ${LOG_PATH} \n\n"
printf "📝 Logs at ${LOG_PATH} \n\n"