From a046993f702ea54cf8604e846adfca98d618bacf Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 19 Jan 2016 00:24:17 +0000 Subject: Multiple: Fix manpages. Signed-off-by: David Spencer --- network/aircrack-ng/aircrack-ng.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'network/aircrack-ng') diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild index ef69eb85d3a2..992e0f96628b 100644 --- a/network/aircrack-ng/aircrack-ng.SlackBuild +++ b/network/aircrack-ng/aircrack-ng.SlackBuild @@ -56,10 +56,10 @@ make prefix=/usr ${OPT} install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/share/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +mv $PKG/usr/share/man $PKG/usr/man +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +rmdir $PKG/usr/share mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3