diff options
author | root <root@rshg054.dnsready.net> | 2012-05-06 00:02:44 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-06 00:02:44 +0000 |
commit | f37e773fe397778858ea8d51601554863c252536 (patch) | |
tree | 9997e525a9baeb85d09bd8e0c12e750781810755 /testing/bash/bash.install | |
parent | 5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (diff) |
Sun May 6 00:02:43 UTC 2012
Diffstat (limited to 'testing/bash/bash.install')
-rw-r--r-- | testing/bash/bash.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/bash/bash.install b/testing/bash/bash.install new file mode 100644 index 000000000..bc75e9b6a --- /dev/null +++ b/testing/bash/bash.install @@ -0,0 +1,20 @@ +info_dir=usr/share/info +info_files=(bash.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} |