]> git.wh0rd.org Git - nano.git/commitdiff
in src/Makefile.am, if we're installing and the "rnano" symlink already
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 14 Jan 2005 18:47:42 +0000 (18:47 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 14 Jan 2005 18:47:42 +0000 (18:47 +0000)
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

ChangeLog
src/Makefile.am

index 8847876e7668bcb1b5e50a4db76c46e0697a2826..f982a793053d6d8b67e2da6ed69d5c5784237ff7 100644 (file)
--- 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:
index c47bb40c6e43b3317b993a0224b0283fe7302300..3aa1ff5061565e0a17a0dcfe48c5ddd6aef83485 100644 (file)
@@ -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