[PATCH] Do not install compatibility symlink for what we do not install

We sometimes do not install git-send-email nor git-http-pull; do not
unconditionally create symlinks to them.

Signed-off-by: Patrick Mauritz <oxygene@studentenbude.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Patrick Mauritz 2005-09-19 16:11:19 +02:00 committed by Junio C Hamano
parent 3b944aac3b
commit bfb73b2ebc

View File

@ -4,7 +4,9 @@ test -d "$d" || exit
while read old new
do
rm -f "$d/$old"
if [ -x "$d/$new" ]; then
ln -s "$new" "$d/$old"
fi
done <<\EOF
git-add-script git-add
git-archimport-script git-archimport