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/not_built/extra/monitorix/readme.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/not_built/extra/monitorix/readme.install')
-rw-r--r-- | abs/not_built/extra/monitorix/readme.install | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/abs/not_built/extra/monitorix/readme.install b/abs/not_built/extra/monitorix/readme.install new file mode 100644 index 0000000..2630018 --- /dev/null +++ b/abs/not_built/extra/monitorix/readme.install @@ -0,0 +1,54 @@ +post_install() { + echo '----------------------------------------------------------------------' + echo 'NOTE that you will need a mono-font for this package to work.' + echo 'There are many options here so I did not add one as a formal dep.' + echo 'You may use for example terminus-font. If your graphs have no numbers' + echo 'go ahead and install it. If they work as is you do not need it.' + echo ' ' + echo 'Consider having your rrd databases for monitorix reside in RAM.' + echo 'D/L and build the monitorix-tmpfs package from the AUR:' + echo + echo ' http://aur.archlinux.org/packages.php?ID=34134' + echo '----------------------------------------------------------------------' +} + +post_remove() { + echo '----------------------------------------------------------------------' + echo 'To remove all traces of monitorix from your system, you must manually' + echo 'remove the following dir trees (doing so will delete your databases):' + echo + echo '/var/lib/monitorix' + echo '/srv/http/monitorix' + echo '----------------------------------------------------------------------' +} + +# $1: The new package version +# $2: The old package version + +post_upgrade() { +NEW=`echo $1 | cut -f-1 -d '-'` +OLD=`echo $2 | cut -f-1 -d '-'` + +# if running the 1.4.2 series then display warning message + +if [ "$OLD" = "1.4.2" ]; then + echo '----------------------------------------------------------------------' + echo ' WARNING:' + echo + echo 'With this upgrade you MUST replace your current version of' + echo '/etc/monitorix.conf with /etc/monitorix.conf.pacnew which contains new' + echo 'configs needed by the 1.5.0 release of monitorix.' + echo + echo 'Simply do the following:' + echo '# cp /etc/monitorix.conf /etc/monitorix.conf.old' + echo '# mv /etc/monitorix.conf.pacnew /etc/monitorix.conf' + echo + echo 'Now you can compare your old config saved as /etc/monitorix.conf.old' + echo 'to your new config to ensure that you get all your config options into' + echo 'the new version.' + echo + echo 'Restart monitorix when you have completed the edit as well:' + echo '# /etc/rc.d/monitorix restart' + echo '----------------------------------------------------------------------' +fi +} |