File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,21 @@ if [ "${DB_PATH}" != "filebrowser.db" ]; then
2121 DB_FLAG=" -d ${DB_PATH} "
2222fi
2323
24- if test -f ${DB_PATH} ; then
24+ if test -f " ${DB_PATH} " ; then
2525 printf " DB ${DB_PATH} is existing, skipping initializing"
2626else
2727 printf " DB ${DB_PATH} not existing, initializing"
28- filebrowser ${DB_FLAG} config init
28+ filebrowser $$ {DB_FLAG} config init
2929fi
3030
3131printf " Setting baseurl to ${SERVER_BASE_PATH} "
32- filebrowser config set --baseurl " ${SERVER_BASE_PATH} " ${DB_FLAG} > ${LOG_PATH} 2>&1
32+ filebrowser config set --baseurl " ${SERVER_BASE_PATH} " $$ {DB_FLAG} > ${LOG_PATH} 2>&1
3333
3434printf " 📂 Serving $$ {ROOT_DIR} at http://localhost:${PORT} \n\n"
3535
3636printf " Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG}' \n\n"
3737
38- filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG} -b ${SERVER_BASE_PATH } >> ${LOG_PATH} 2>&1 &
38+ filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG} >> ${LOG_PATH} 2>&1 &
3939
4040
4141printf " 📝 Logs at ${LOG_PATH} \n\n"
You can’t perform that action at this time.
0 commit comments