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