Improved install

This commit is contained in:
root 2025-05-25 05:26:53 +00:00
parent 114d8c461b
commit ec024c9992
3 changed files with 9 additions and 2 deletions

View File

@ -40,7 +40,7 @@ else
fi
log_file="filebrowser/addusers.txt"
log_file="$SMB_TOOLS_PATH/filebrowser/addusers.txt"
if [ -f "$log_file" ]; then
echo "$USERNAME:$PASSWORD" >> "$log_file"

3
filebrowser/install.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker compose up -d

View File

@ -42,4 +42,8 @@ source $HOME/.bashrc
# Set it for the current script execution too
export SMB_TOOLS_PATH="$SCRIPT_DIR"
echo "SMB_TOOLS_PATH set to: $SMB_TOOLS_PATH"
echo "SMB_TOOLS_PATH set to: $SMB_TOOLS_PATH"
cd filebrowser
bash ./install
cd ..