aboutsummaryrefslogtreecommitdiff
path: root/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-12-05 05:49:23 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-12-05 05:49:23 +0000
commit304ff76836b4444c8af2a9d6ae88538330a4eb5d (patch)
tree1ae7a07df67faad1eadadb43bbfa02561980738d /net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
parent310cdcf99776fa8bc62b7bac4637a573f40bcd92 (diff)
downloadslackbuilds-304ff76836b4444c8af2a9d6ae88538330a4eb5d.tar.gz
slackbuilds-304ff76836b4444c8af2a9d6ae88538330a4eb5d.tar.bz2
Syncing with generic.SlackBuild v0.9.3
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1505 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/analyzer/nagios-plugins/nagios-plugins.SlackBuild')
-rwxr-xr-xnet/analyzer/nagios-plugins/nagios-plugins.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild b/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
index bdb6a722..e88bd4db 100755
--- a/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
+++ b/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
@@ -112,7 +112,7 @@ make install-root DESTDIR="$PKG" || exit $ERROR_INSTALL
DOCS="ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING COPYING ChangeLog
FAQ INSTALL LEGAL NEWS README REQUIREMENTS SUPPORT THANKS"
mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
-cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
+cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" 2> /dev/null
# Add package description (slack-desc)
mkdir -p "$PKG/install" || exit $ERROR_MKDIR
@@ -144,6 +144,6 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO
# Delete source and build directories if requested
if [ "$CLEANUP" == "yes" ]; then
- rm -rf "$PKG_SRC" "$PKG"
+ rm -rf "$PKG_WORK" "$PKG"
fi