aboutsummaryrefslogtreecommitdiff
path: root/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild
diff options
context:
space:
mode:
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