fix warning
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paolo Asperti 2025-04-19 09:01:40 +02:00
parent 990ac9e0a8
commit 4218c4fac3
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -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