From 211709a2f09bd677aa1deac0dc82fde6ce1c8626 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 2 Jun 2012 00:01:53 +0000 Subject: Sat Jun 2 00:01:53 UTC 2012 --- testing/bash/bash.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/bash/bash.install (limited to 'testing/bash/bash.install') 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 +} -- cgit v1.2.3-54-g00ecf