diff options
Diffstat (limited to 'source/ap/sysstat/sysstat.SlackBuild')
-rwxr-xr-x | source/ap/sysstat/sysstat.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/ap/sysstat/sysstat.SlackBuild b/source/ap/sysstat/sysstat.SlackBuild index 633b9d20..0a39e1ff 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 |