diff options
author | root <root@rshg054.dnsready.net> | 2012-03-23 00:01:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-23 00:01:14 +0000 |
commit | 1512c792951d7fbd2c9c336f9bf35654bbb85cc6 (patch) | |
tree | d786dcc22bc7f01d7629eb8a07415d2a904fc015 /testing/msmtp/msmtp.install | |
parent | 39e662ccfbe62ae77d458159d192816171a22f43 (diff) |
Fri Mar 23 00:01:14 UTC 2012
Diffstat (limited to 'testing/msmtp/msmtp.install')
-rw-r--r-- | testing/msmtp/msmtp.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/msmtp/msmtp.install b/testing/msmtp/msmtp.install new file mode 100644 index 000000000..c4dd76476 --- /dev/null +++ b/testing/msmtp/msmtp.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(msmtp.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |