[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>
Patrick Mauritz committed
Sep 19, 2005 at 16:11 UTC
bfb73b2ebc2d50c8e14133ad15137604fc54563d
1 file changed
+2
cmd-rename.sh
+2
@@ -4,7 +4,9 @@ test -d "$d" || exit
4
while read old new
5
do
6
rm -f "$d/$old"
7
+ if [ -x "$d/$new" ]; then
8
ln -s "$new" "$d/$old"
9
+ fi
10
done <<\EOF
11
git-add-script git-add
12
git-archimport-script git-archimport