summaryrefslogtreecommitdiff
path: root/source/l/libgphoto2/libgphoto2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libgphoto2/libgphoto2.SlackBuild')
-rwxr-xr-xsource/l/libgphoto2/libgphoto2.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/l/libgphoto2/libgphoto2.SlackBuild b/source/l/libgphoto2/libgphoto2.SlackBuild
index fb3efe16..ad1a0e7e 100755
--- a/source/l/libgphoto2/libgphoto2.SlackBuild
+++ b/source/l/libgphoto2/libgphoto2.SlackBuild
@@ -122,10 +122,7 @@ $PKG/usr/bin/print-camera-list hal-fdi-device \
unset LD_LIBRARY_PATH CAMLIBS LIBDIR # Unset these just in case
# Compress man pages
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \