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