summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:14 -0400
commit6a048f92c3709de13c7b3c8f3f6129fd58092217 (patch)
treed8b354282debb9b72b99087a095ade778dfc7bf3 /network
parent463fdaa1fa89d4b53d46cd1c12992936ba5b9db6 (diff)
downloadslackbuilds-6a048f92c3709de13c7b3c8f3f6129fd58092217.tar.gz
network/mailman: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/mailman/mailman.SlackBuild9
1 files changed, 3 insertions, 6 deletions
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