You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
Bash
17 lines
379 B
Bash
#!/usr/bin/env sh
|
|
|
|
BOLD='\033[0;1m'
|
|
echo "$${BOLD}Installing filebrowser..."
|
|
|
|
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
|
|
|
echo "🥳 Installation comlete!"
|
|
|
|
echo "👷 Starting filebrowser in background..."
|
|
|
|
FOLDER=${FOLDER/\~/$HOME}
|
|
|
|
filebrowser --noauth --root $FOLDER --port ${PORT} >${LOG_PATH} 2>&1 &
|
|
|
|
echo "check logs at ${LOG_PATH}"
|