. V0-9-6
authorWerner Koch <wk@gnupg.org>
Thu, 6 May 1999 13:17:17 +0000 (13:17 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 6 May 1999 13:17:17 +0000 (13:17 +0000)
g10/Makefile.am

index 5fadb29..c32dc44 100644 (file)
@@ -84,6 +84,9 @@ $(PROGRAMS): $(needed_libs)
 install-data-local:
        $(mkinstalldirs) $(pkgdatadir)
        $(INSTALL_DATA) $(srcdir)/options.skel $(pkgdatadir)/options.skel
-       rm $(bindir)/gpgm || ln -s $(bindir)/gpgm gpg
+       @set -e;\
+        if test -f $(bindir)/gpgm ; then \
+          rm $(bindir)/gpgm ; ln -s gpg $(bindir)/gpgm ; \
+        fi