diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:22 (GMT) |
commit | e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch) | |
tree | bee3fe89f2988dd244e11791755e129aa8c03b14 /abs/extra/rrd_stats/rrd_stats.install | |
parent | 8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff) | |
download | linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2 |
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/extra/rrd_stats/rrd_stats.install')
-rw-r--r-- | abs/extra/rrd_stats/rrd_stats.install | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/extra/rrd_stats/rrd_stats.install b/abs/extra/rrd_stats/rrd_stats.install deleted file mode 100644 index 126e4f0..0000000 --- a/abs/extra/rrd_stats/rrd_stats.install +++ /dev/null @@ -1,34 +0,0 @@ -post_install() { - PFIX="/data/srv/httpd/htdocs/rrd" - if [ ! -e $PFIX/index.html.orig ] - then - mv $PFIX/index.html $PFIX/index.html.orig - ln -s $PFIX/index-rrd.html $PFIX/index.html - fi - - ct=`crontab -l` - echo $ct | grep -q run_rrd.sh - if [ $? != 0 ] - then - line="*/5 * * * * /usr/bin/run_rrd.sh > /dev/null" - (crontab -l; echo "$line") | crontab - - fi - - -} - -post_upgrade() { - post_install $1 -} - - -pre_remove() { - crontab -l | grep -v run_rrd | crontab - - PFIX="/data/srv/httpd/htdocs/rrd" - if [ -e $PFIX/index.html.orig ] - then - rm $PFIX/index.html - mv $PFIX/index.html.orig $PFIX/index.html - fi - -} |