From: David Lawrence Ramsey Date: Fri, 14 Jan 2005 18:47:42 +0000 (+0000) Subject: in src/Makefile.am, if we're installing and the "rnano" symlink already X-Git-Tag: v1.3.6~137 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e3013e3ed01140185763df2de07bcfba773133e3;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index 8847876e..f982a793 100644 --- 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 index c47bb40c..3aa1ff50 100644 --- 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