nextcloud: avoid forcing installed flag
This commit is contained in:
parent
c928b7805c
commit
6850f7b2fc
@ -72,9 +72,6 @@ spec:
|
||||
if [ -s /var/www/html/config/config.php ] && [ ! -f /var/www/html/data/.ocdata ]; then
|
||||
touch /var/www/html/data/.ocdata
|
||||
fi
|
||||
if [ -s /var/www/html/config/config.php ] && ! grep -q "'installed'" /var/www/html/config/config.php; then
|
||||
sed -i "/^);/i\\ 'installed' => true," /var/www/html/config/config.php
|
||||
fi
|
||||
chown -R 33:33 /var/www/html/config /var/www/html/data /var/www/html/custom_apps || true
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user