diff options
author | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-04 23:14:51 +0000 |
commit | 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch) | |
tree | 576b183074d925e58c2e37ae2b641e712bceacb1 /testing/bash/bash.install | |
parent | b625511a28fd8401f524474b5339e75328595150 (diff) |
Fri Nov 4 23:14:51 UTC 2011
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 +} |