From b12f081bc31c630c8b52555de59597d19c71f1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Sun, 1 Mar 2026 14:10:38 +0100 Subject: [PATCH] Malformed if statement. --- modules/services/nextcloud.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/nextcloud.nix b/modules/services/nextcloud.nix index ebe3c33..8931852 100644 --- a/modules/services/nextcloud.nix +++ b/modules/services/nextcloud.nix @@ -248,6 +248,7 @@ helper.mkPodmanService { for app in ''${INSTALL_APPS_LIST[@]}; do if ! $OCC --no-warnings app:list | grep -iq "$app:"; then $OCC --no-warnings app:install "$app" + fi if $OCC --no-warnings app:list --disabled | grep -iq "$app:"; then $OCC --no-warnings app:enable "$app" fi @@ -255,6 +256,7 @@ helper.mkPodmanService { for app in ''${REMOVE_APPS_LIST[@]}; do if $OCC --no-warnings app:list --enabled | grep -iq "$app:"; then $OCC --no-warnings app:disable "$app" + fi if $OCC --no-warnings app:list | grep -iq "$app:"; then $OCC --no-warnings app:remove "$app" fi