From 6b808c63face786e831216cccc25fdc7f5681592 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 26 Jul 2009 19:10:02 +0200 Subject: [PATCH] full installer: Give the user a hint to run initialize.sh Signed-off-by: Johannes Schindelin --- etc/profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/profile b/etc/profile index 94bb56c8..c22c148d 100644 --- a/etc/profile +++ b/etc/profile @@ -116,6 +116,12 @@ mkdir -p /.git/hooks && cp /share/msysGit/post-checkout-hook /.git/hooks/post-checkout test -f /etc/motd && sed "s/\$MESSAGE/$MESSAGE/" < /etc/motd +test -x /share/msysGit/initialize.sh -a ! -d /.git && +cat << EOF + +It appears that you installed msysGit using the full installer. +To set up the Git repositories, please run /share/msysGit/initialize.sh +EOF case ":$PATH:" in *:/cmd:*|*:/bin:*) ;; -- 2.11.4.GIT