diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:14 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:14 -0400 |
commit | 6a048f92c3709de13c7b3c8f3f6129fd58092217 (patch) | |
tree | d8b354282debb9b72b99087a095ade778dfc7bf3 /network/mailman | |
parent | 463fdaa1fa89d4b53d46cd1c12992936ba5b9db6 (diff) |
network/mailman: Fixed for bash4.
Diffstat (limited to 'network/mailman')
-rw-r--r-- | network/mailman/mailman.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild index 39f88e1e9d7f1..66b6de05a4462 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 |