diff options
author | root <root@rshg054.dnsready.net> | 2012-02-05 23:15:10 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-05 23:15:10 +0000 |
commit | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (patch) | |
tree | 4374282e7b40f1decf8ecb78f004114498208361 /testing/gv/gv.install | |
parent | 359d940358dec836dd0acfe9d9caf0b1ff0a97fe (diff) |
Sun Feb 5 23:15:10 UTC 2012
Diffstat (limited to 'testing/gv/gv.install')
-rw-r--r-- | testing/gv/gv.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/gv/gv.install b/testing/gv/gv.install new file mode 100644 index 000000000..0c048cd5b --- /dev/null +++ b/testing/gv/gv.install @@ -0,0 +1,18 @@ +infodir=usr/share/info +file=gv.info.gz + +post_install() { + update-desktop-database -q + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/$file $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + update-desktop-database -q + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/$file $infodir/dir 2> /dev/null +} |