From 24a857c6cc4902982b68f70ba2c360c1d83d7061 Mon Sep 17 00:00:00 2001 From: dsomero Date: Wed, 23 Mar 2011 18:17:38 -0400 Subject: network/haproxy: Handle .new files correctly. Signed-off-by: dsomero --- network/haproxy/haproxy.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'network/haproxy/haproxy.SlackBuild') diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild index 2513ce6fcc..517af87d56 100644 --- a/network/haproxy/haproxy.SlackBuild +++ b/network/haproxy/haproxy.SlackBuild @@ -112,10 +112,8 @@ cat $CWD/haproxy.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/haproxy.SlackBuild mv $PKG/usr/share/man $PKG/usr/ rm -rf $PKG/usr/{share,/doc/haproxy} -( 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 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3