diff --git a/bin/install-site-core.sh b/bin/install-site-core.sh index c821142..a7a7271 100755 --- a/bin/install-site-core.sh +++ b/bin/install-site-core.sh @@ -175,5 +175,5 @@ update_apt_sources # Remove one crippling package, if it's installed: apt-get -qq remove -y --purge apt-xapian-index >/dev/null || true clone_or_update_repository -chown -R "$UNIX_USER"."$UNIX_USER" "$DIRECTORY" +chown -R "$UNIX_USER":"$UNIX_USER" "$DIRECTORY" run_site_specific_script diff --git a/bin/install-site.sh b/bin/install-site.sh index f9d1ba4..82885c7 100755 --- a/bin/install-site.sh +++ b/bin/install-site.sh @@ -337,7 +337,7 @@ install_postgis() { make_log_directory() { LOG_DIRECTORY="$DIRECTORY/logs" mkdir -p "$LOG_DIRECTORY" - chown -R "$UNIX_USER"."$UNIX_USER" "$LOG_DIRECTORY" + chown -R "$UNIX_USER":"$UNIX_USER" "$LOG_DIRECTORY" } add_website_to_nginx() { @@ -669,5 +669,5 @@ update_apt_sources # Remove one crippling package, if it's installed: apt-get -qq remove -y --purge apt-xapian-index >/dev/null || true clone_or_update_repository -chown -R "$UNIX_USER"."$UNIX_USER" "$DIRECTORY" +chown -R "$UNIX_USER":"$UNIX_USER" "$DIRECTORY" run_site_specific_script diff --git a/shlib/installfns b/shlib/installfns index e8d7fb8..2cac618 100755 --- a/shlib/installfns +++ b/shlib/installfns @@ -337,7 +337,7 @@ install_postgis() { make_log_directory() { LOG_DIRECTORY="$DIRECTORY/logs" mkdir -p "$LOG_DIRECTORY" - chown -R "$UNIX_USER"."$UNIX_USER" "$LOG_DIRECTORY" + chown -R "$UNIX_USER":"$UNIX_USER" "$LOG_DIRECTORY" } add_website_to_nginx() {