Fixes minor linting

This commit is contained in:
Trenton Holmes
2022-08-03 13:26:04 -07:00
parent 6b8a21d2b0
commit d5c27a95aa
3 changed files with 6 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ initialize() {
done
set -e
${gosu_cmd[@]} /sbin/docker-prepare.sh
"${gosu_cmd[@]}" /sbin/docker-prepare.sh
}
install_languages() {
@@ -138,7 +138,7 @@ install_languages() {
echo "Paperless-ngx docker container starting..."
gosu_cmd=(gosu paperless)
if [ $(id -u) == $(id -u paperless) ]; then
if [ "$(id -u)" == "$(id -u paperless)" ]; then
gosu_cmd=()
fi
@@ -151,7 +151,7 @@ initialize
if [[ "$1" != "/"* ]]; then
echo Executing management command "$@"
exec ${gosu_cmd[@]} python3 manage.py "$@"
exec "${gosu_cmd[@]}" python3 manage.py "$@"
else
echo Executing "$@"
exec "$@"