From 8edc047fee2b65f6481574b2f4b8128fcc96cca8 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 26 Jul 2009 18:29:03 +0200 Subject: [PATCH] msysGit: show a hint how to install a shortcut to msysGit Care has to be taken not to show this in the installed Git for Windows. Signed-off-by: Johannes Schindelin --- etc/motd | 1 + share/WinGit/release.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/motd b/etc/motd index e02433e38f..435986150e 100644 --- a/etc/motd +++ b/etc/motd @@ -3,3 +3,4 @@ Welcome to msysGit Run 'git help git' to display the help index. Run 'git help ' to display help for specific commands. +Run '/share/msysGit/add-shortcut.tcl' to add a shortcut to msysGit. diff --git a/share/WinGit/release.sh b/share/WinGit/release.sh index 68a1cc53e9..1c3c4c7f5a 100644 --- a/share/WinGit/release.sh +++ b/share/WinGit/release.sh @@ -66,7 +66,8 @@ TMPDIR=/tmp/WinGit unset DONT_REMOVE_BUILTINS /share/WinGit/copy-files.sh $TMPDIR && -sed "s/msysGit/Git (version $version)/" < /etc/motd > $TMPDIR/etc/motd && +sed -e "s/msysGit/Git (version $version)/" \ + -e '/share\/msysGit/d' < /etc/motd > $TMPDIR/etc/motd && cp /share/resources/gpl-2.0.rtf /share/resources/git.bmp $TMPDIR && homewinpath=$(cd ~ ; pwd -W) && sed -e "s/%APPVERSION%/$version/" -e "s@%OUTPUTDIR%@$homewinpath@" \ -- 2.11.4.GIT