From 4e22194124473b233c94c0b6c77b016b0470fad1 Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 11 Jun 2026 12:34:40 +0200 Subject: [PATCH] fix: mkdir should not fail if data already exists --- netoik-cloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netoik-cloud.spec b/netoik-cloud.spec index 124c8bf..d17b1be 100644 --- a/netoik-cloud.spec +++ b/netoik-cloud.spec @@ -46,7 +46,7 @@ chown --recursive nextcloud:nextcloud %{_sharedstatedir}/nextcloud chmod 700 %{_sharedstatedir}/nextcloud # Create data dir -runuser --user=nextcloud -- mkdir %{_sharedstatedir}/nextcloud/data +runuser --user=nextcloud -- mkdir --parents %{_sharedstatedir}/nextcloud/data # Add link to config runuser --user=nextcloud -- ln --symbolic --force %{_sysconfdir}/nextcloud/config.php %{_sharedstatedir}/nextcloud/config/config.php