From 6a048f92c3709de13c7b3c8f3f6129fd58092217 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:44:14 -0400 Subject: network/mailman: Fixed for bash4. --- network/mailman/mailman.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'network') diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild index 39f88e1e9d..66b6de05a4 100644 --- a/network/mailman/mailman.SlackBuild +++ b/network/mailman/mailman.SlackBuild @@ -82,12 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/etc/profile.d cat $CWD/profile.d/mailman.sh > $PKG/etc/profile.d/mailman.sh @@ -99,6 +95,7 @@ cat $CWD/rc.mailman > $PKG/etc/rc.d/rc.mailman.new chmod 0755 $PKG/etc/rc.d/rc.mailman.new mkdir -p $PKG/$PREFIX/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc cp -a ACKNOWLEDGMENTS BUGS FAQ NEWS README* STYLEGUIDE.txt TODO \ $PKG/$PREFIX/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/$PREFIX/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3