From: Jack Jansen Date: Fri, 9 Aug 2002 14:42:57 +0000 (+0000) Subject: When installing the "python" link in bindir also test for a pre-existing X-Git-Tag: v2.3c1~4584 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1403b9fecd40b5c9fdc8c2eabef457bf79c68eb5;p=python When installing the "python" link in bindir also test for a pre-existing symlink and remove it. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 985e73ea58..6d1af49686 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -560,7 +560,7 @@ $(DESTSHARED): # Install the interpreter (by creating a hard link to python$(VERSION)) bininstall: altbininstall - -if test -f $(BINDIR)/$(PYTHON); \ + -if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \ then rm -f $(BINDIR)/$(PYTHON); \ else true; \ fi