fix: mkdir should not fail if data already exists
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 26s
Continuous Integration / lint_n_build (push) Successful in 25s

This commit is contained in:
2026-06-11 12:34:40 +02:00
parent 88a602f039
commit 4e22194124

View File

@@ -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