commit e3013e3ed01140185763df2de07bcfba773133e3
parent f6e4d33afcbfe6efcd9bcbae1c1a60fa4e18454e
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 14 Jan 2005 18:47:42 +0000
in src/Makefile.am, if we're installing and the "rnano" symlink already
exists, remove it so that we can create it again without an error
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2265 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -243,6 +243,9 @@ CVS code -
Piefel)
- src/Makefile.am:
- Add chars.c to nano_SOURCES. (DLR)
+ - If we're installing and the "rnano" symlink already exists,
+ remove it so that we can create it again without an error.
+ (DLR)
GNU nano 1.3.5 - 2004.11.22
- General:
diff --git a/src/Makefile.am b/src/Makefile.am
@@ -21,4 +21,4 @@ nano_SOURCES = chars.c \
nano_LDADD = @GLIB_LIBS@ @LIBINTL@
install-exec-hook:
- cd $(DESTDIR)$(bindir) && $(LN_S) nano rnano
+ cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano