diff options
-rw-r--r-- | abs/extra-testing/rrd_stats/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.install | 8 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.tgz | bin | 6625 -> 6603 bytes |
3 files changed, 9 insertions, 1 deletions
diff --git a/abs/extra-testing/rrd_stats/PKGBUILD b/abs/extra-testing/rrd_stats/PKGBUILD index a086380..9e52ee4 100644 --- a/abs/extra-testing/rrd_stats/PKGBUILD +++ b/abs/extra-testing/rrd_stats/PKGBUILD @@ -1,6 +1,6 @@ pkgname=rrd_stats pkgver=1 -pkgrel=12 +pkgrel=15 pkgdesc="graph system stats" arch=('i686' 'x86_64') url="" diff --git a/abs/extra-testing/rrd_stats/rrd_stats.install b/abs/extra-testing/rrd_stats/rrd_stats.install index d6aa4ed..e63b0eb 100644 --- a/abs/extra-testing/rrd_stats/rrd_stats.install +++ b/abs/extra-testing/rrd_stats/rrd_stats.install @@ -42,6 +42,14 @@ post_install() { (crontab -l; echo "$line") | crontab - fi + echo $ct | grep -q rrd_usage.pl + if [ $? != 0 ] + then + line="*/5 * * * * /usr/bin/rrd_usage.pl > /dev/null" + (crontab -l; echo "$line") | crontab - + fi + + } post_upgrade() { diff --git a/abs/extra-testing/rrd_stats/rrd_stats.tgz b/abs/extra-testing/rrd_stats/rrd_stats.tgz Binary files differindex 4e27a43..7b28be3 100644 --- a/abs/extra-testing/rrd_stats/rrd_stats.tgz +++ b/abs/extra-testing/rrd_stats/rrd_stats.tgz |