mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
fix(docker): update bash interpreter in init scripts
- Changed the bash interpreter path from /usr/bin/bash to /bin/bash in multiple init scripts for consistency and compatibility. - Added PowerShell working directory configuration in the workspace file to streamline development environment setup.
This commit is contained in:
parent
7f40a45a2c
commit
cc3f17ec95
19 changed files with 19 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
declare -r log_prefix="[init-complete]"
|
||||
declare -r end_time=$(date +%s)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[custom-init]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[env-init]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-folders]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
declare -r log_prefix="[init-migrations]"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
declare -r log_prefix="[init-user]"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-index]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-start]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-superuser]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-checks]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-tesseract-langs]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-db-wait]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[init-redis-wait]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
declare -r log_prefix="[svc-flower]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
cd ${PAPERLESS_SRC_DIR}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
cd ${PAPERLESS_SRC_DIR}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/command/with-contenv /usr/bin/bash
|
||||
#!/command/with-contenv /bin/bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
cd ${PAPERLESS_SRC_DIR}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
"**/coverage.json": true
|
||||
},
|
||||
"python.defaultInterpreterPath": ".venv/bin/python3",
|
||||
"powershell.cwd": "IntelliDocs-ngx",
|
||||
},
|
||||
"extensions": {
|
||||
"recommendations": ["ms-python.python", "charliermarsh.ruff", "editorconfig.editorconfig"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue