no negation of the file checking
This commit is contained in:
parent
0eaa80950a
commit
133634aefb
@ -12,7 +12,7 @@ PGPASSWORD=$DB_PASSWORD psql -h $DB_HOST -U $DB_USER -d $DB_NAME -c "SELECT EXIS
|
||||
if [ $? -ne 1 ]; then
|
||||
cd /var/lib/nextcloud
|
||||
|
||||
if [ ! -f /var/lib/nextcloud/config/config.php ]; then
|
||||
if [ -f /var/lib/nextcloud/config/config.php ]; then
|
||||
sed -i -e "s/'installed' => true,/'installed' => false,/g" /var/lib/nextcloud/config/config.php
|
||||
fi
|
||||
s6-setuidgid nginx ./occ maintenance:install \
|
||||
|
Loading…
Reference in New Issue
Block a user