summaryrefslogtreecommitdiffstats
path: root/system/apachetop/apachetop.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2010-12-30 00:05:47 +0100
committer Robby Workman2010-12-30 00:26:18 +0100
commit6591f954f4cc5486d5b0dce4e7cc912ae2d42af4 (patch)
tree033e3577f82fe5dd28389b96559a281253a7584f /system/apachetop/apachetop.SlackBuild
parent81a9bd1d3be7a1ae55389131e6095e72aab42f5a (diff)
downloadslackbuilds-6591f954f4cc5486d5b0dce4e7cc912ae2d42af4.tar.gz
system/apachetop: Uncompress the patches
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/apachetop/apachetop.SlackBuild')
-rw-r--r--system/apachetop/apachetop.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/apachetop/apachetop.SlackBuild b/system/apachetop/apachetop.SlackBuild
index c63f91dcd1..4051b84461 100644
--- a/system/apachetop/apachetop.SlackBuild
+++ b/system/apachetop/apachetop.SlackBuild
@@ -55,10 +55,10 @@ find . -type d -exec chmod 0755 {} \; -o -type f -exec chmod a-s,u+rw,go-w {} \;
# Apply a patch by Aaron McClimont to allow writing statistics to a file.
# For like MRTG to use (or Cricket, Cacti, Torrus, whatever).
-zcat $CWD/apachetop.outputfile.patch.gz | patch --backup -p0
+patch -p0 < $CWD/apachetop.outputfile.patch
# Add mension of the feature added above to the manpage.
-cat $CWD/apachetop.manpage.diff | patch --backup -p0
+patch -p0 < $CWD/apachetop.manpage.diff
# Add --with-adns=<path> if you have adns installed and want ApacheTop support
# Note: The log to parce can be overwritten at runtime, using the '-f' flag.