From 4218c4fac3471d650ba3416940f9ade31facee95 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 19 Apr 2025 09:01:40 +0200 Subject: [PATCH] fix warning --- src/rootfs/start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rootfs/start.sh b/src/rootfs/start.sh index 2c76cc8..e7dbe08 100644 --- a/src/rootfs/start.sh +++ b/src/rootfs/start.sh @@ -1,9 +1,11 @@ #!/bin/sh +INSTALL_OK=${INSTALL_OK:-0} + chown -R nginx:www-data /logs /config /files /marketplace chmod -R a-x,a=rX,ug+w /logs /config /files /marketplace -if [ "$INSTALL_OK" = "1" ] ; then +if [ "${INSTALL_OK}" = "1" ] ; then if [ -f /var/www/glpi/install/install.php ] ; then rm /var/www/glpi/install/install.php fi