updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / ledger-git / ledger.install
blobe99ee4c059b9b0902370cbead41986d374f1f816
1 post_install() {
2         if [ -x '/usr/bin/info' -a -e '/usr/share/info/ledger.info' ]; then
3                 echo '>>> Adding ledger entry to info documentation index file.'
4                 install-info --info-dir='/usr/share/info' '/usr/share/info/ledger.info'
5         fi
8 post_upgrade() {
9         if [ -x '/usr/bin/info' -a -e '/usr/share/info/ledger.info' ]; then
10                 echo '>>> Updating ledger entry in info documentation index file.'
11                 install-info --info-dir='/usr/share/info' '/usr/share/info/ledger.info'
12         fi
15 pre_remove() {
16         if [ -x '/usr/bin/info' -a -e '/usr/share/info/ledger.info' ]; then
17                 echo '>>> Removing ledger entry from info documentation index file.'
18                 install-info --delete --info-dir='/usr/share/info' '/usr/share/info/ledger.info'
19         fi