summaryrefslogtreecommitdiffstats
path: root/source/ap/sysstat/sysstat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/sysstat/sysstat.SlackBuild')
-rwxr-xr-xsource/ap/sysstat/sysstat.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/ap/sysstat/sysstat.SlackBuild b/source/ap/sysstat/sysstat.SlackBuild
index 633b9d208..0a39e1ff7 100755
--- a/source/ap/sysstat/sysstat.SlackBuild
+++ b/source/ap/sysstat/sysstat.SlackBuild
@@ -107,6 +107,11 @@ CFLAGS="$SLKCFLAGS -DSADC_PATH=/usr/lib$LIBDIRSUFFIX/sa/sadc" \
make $NUMJOBS || make || exit 1
make install IGNORE_MAN_GROUP=y DESTDIR=$PKG || exit 1
+# Don't include the version number in the configuration file - it is a
+# needless detail that forces review of the config file with every
+# package update, even if no changes were made from default.
+sed -i -e '1s/sysstat-[0-9.]\+/systat/' $PKG/etc/sysstat/sysstat
+# Move the config file to .new:
mv $PKG/etc/sysstat/sysstat $PKG/etc/sysstat/sysstat.new
mkdir -p $PKG/etc/rc.d