always apply settings

This commit is contained in:
soraefir
2026-06-07 17:56:30 +02:00
parent d8f3142b4e
commit 9cf7da5a73

View File

@@ -91,8 +91,8 @@ in {
--admin-user "$DEFAULT_ADMIN_USERNAME" \
--admin-pass "$DEFAULT_ADMIN_PASSWORD"
fi
if [ -z "$INSTALLED" ] || [ -f "/tmp/force-nextcloud-setup" ]; then
rm -f "/tmp/force-nextcloud-setup"
#if [ -z "$INSTALLED" ] || [ -f "/tmp/force-nextcloud-setup" ]; then
# rm -f "/tmp/force-nextcloud-setup"
echo "Applying Settings..."
$OCC config:system:set trusted_domains 1 --value=${containerCfg.subdomain}.${serverCfg.domain}
@@ -188,9 +188,9 @@ in {
'') containerCfg.extra.federatedServers or [])}
$OCC config:app:set systemtags allow_user_creating --value="no"
else
echo "Nextcloud is already installed. Skipping setup."
fi
#else
# echo "Nextcloud is already installed. Skipping setup."
#fi
echo "Applying Theme..."
$OCC config:app:set theming url --value="https://${containerCfg.subdomain}.${serverCfg.domain}"