summaryrefslogtreecommitdiffstats
path: root/source/n/gnupg/gnupg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/gnupg/gnupg.SlackBuild')
-rwxr-xr-xsource/n/gnupg/gnupg.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/n/gnupg/gnupg.SlackBuild b/source/n/gnupg/gnupg.SlackBuild
index 3a0a5b8ab..2a0bce570 100755
--- a/source/n/gnupg/gnupg.SlackBuild
+++ b/source/n/gnupg/gnupg.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,7 +20,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=1.4.10
+VERSION=1.4.11
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -83,11 +83,12 @@ gzip -9 $PKG/usr/man/*/*
mkdir -p $PKG/usr/doc/gnupg-$VERSION
cp -a \
- ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS README THANKS TODO VERSION \
+ ABOUT-NLS AUTHORS BUGS COPYING* INSTALL NEWS PROJECTS README* THANKS TODO VERSION \
$PKG/usr/doc/gnupg-$VERSION
-( cd $PKG/usr/doc/gnupg-$VERSION
- ln -sf /usr/share/gnupg/FAQ .
- ln -sf /usr/share/gnupg/faq.html . )
+if [ -r $PKG/usr/share/gnupg/FAQ ]; then
+ ( cd $PKG/usr/doc/gnupg-$VERSION
+ ln -sf /usr/share/gnupg/FAQ . )
+fi
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control: