summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/util-linux-ng/util-linux-ng.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-13 21:51:03 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-13 21:51:03 (GMT)
commite99fa77d8394d9acdf9a26eae42c3816de0cc203 (patch)
treed4204a9da6581d7efe9d2c8a5b67cecf8df4dd79 /abs/core-testing/util-linux-ng/util-linux-ng.install
parentfbf4e1726c6645476ea097e47bbda9c90725c9ae (diff)
downloadlinhes_pkgbuild-e99fa77d8394d9acdf9a26eae42c3816de0cc203.zip
linhes_pkgbuild-e99fa77d8394d9acdf9a26eae42c3816de0cc203.tar.gz
linhes_pkgbuild-e99fa77d8394d9acdf9a26eae42c3816de0cc203.tar.bz2
upstream sync for util-linux-ng
Diffstat (limited to 'abs/core-testing/util-linux-ng/util-linux-ng.install')
-rw-r--r--abs/core-testing/util-linux-ng/util-linux-ng.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core-testing/util-linux-ng/util-linux-ng.install b/abs/core-testing/util-linux-ng/util-linux-ng.install
new file mode 100644
index 0000000..22d38db
--- /dev/null
+++ b/abs/core-testing/util-linux-ng/util-linux-ng.install
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(ipc.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+