Verified Commit 4f15ec2b authored by Jan Pavlinec's avatar Jan Pavlinec
Browse files

Merge branch 'hotfix/fix-nextcloud-config' into develop

parents 320f6073 3a2d31f8
......@@ -149,6 +149,11 @@ define Package/fix-nor-update/description
or rescue image. This fix updates it to the latest stable version.
endef
define Package/fix-nextcloud-conf/description
Nextcloud cron scripts accidentally creates an empty config.php file.
If there is empty config.php, which exists then it removes it.
endef
$(eval $(call FIX,sentinel-remove-invalid-firewall-rules,+firewall +uci))
$(eval $(call FIX,samba-migrate-to-samba4,+samba4-server +uci))
$(eval $(call FIX,updater-v65.0-alternatives-update,+updater-ng +uci,prerm))
......@@ -164,3 +169,4 @@ $(eval $(call FIX,edns-buffer-size,+resolver-conf +uci))
$(eval $(call FIX,dhparam-to-cagen,+uci +turris-cagen))
$(eval $(call FIX,pkglists-hardening-options,+pkglists +uci))
$(eval $(call FIX,nor-update,+turris-nor-update +turris-nor-update-firmware))
$(eval $(call FIX,nextcloud-conf,+nextcloud))
#!/bin/sh
# Check if nextcloud config file is empty and remove it
if [ ! -s /srv/www/nextcloud/config/config.php ]; then
rm -f /srv/www/nextcloud/config/config.php
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment