Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install: Create a .gitconfig file for the zulip user.

Siddharth Asthanad2706fa246b2
diff --git a/scripts/lib/install b/scripts/lib/install
index c1b721499b6..1e4f84d55ec 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -521,6 +521,10 @@ if has_class "zulip::app_frontend_base"; then
fi
fi
+# Set up a basic .gitconfig for the 'zulip' user
+su zulip -c "git config --global user.email $ZULIP_ADMINISTRATOR"
+su zulip -c "git config --global user.name 'Zulip Server ($EXTERNAL_HOST)'"
+
if [ -n "$NO_INIT_DB" ]; then
set +x
cat <<EOF