fix: mkdir should not fail if data already exists
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user