diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-21 04:31:54 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-21 04:31:54 (GMT) |
commit | 13dc5b17c22f090733755b24f84a5a7e5b4eec5d (patch) | |
tree | fb613c2b1527a3bd6a82ec20f51b5d6f2ac1222f /abs/core-testing/parted/parted.install | |
parent | fff91d7f754ca3ac84f4159456e0156c2ac26708 (diff) | |
download | linhes_pkgbuild-13dc5b17c22f090733755b24f84a5a7e5b4eec5d.zip linhes_pkgbuild-13dc5b17c22f090733755b24f84a5a7e5b4eec5d.tar.gz linhes_pkgbuild-13dc5b17c22f090733755b24f84a5a7e5b4eec5d.tar.bz2 |
parted: archsysnc
Diffstat (limited to 'abs/core-testing/parted/parted.install')
-rw-r--r-- | abs/core-testing/parted/parted.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core-testing/parted/parted.install b/abs/core-testing/parted/parted.install new file mode 100644 index 0000000..5e00699 --- /dev/null +++ b/abs/core-testing/parted/parted.install @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(parted.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} |