summaryrefslogtreecommitdiffstats
path: root/abs/core/sharutils/install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 14:50:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 14:50:33 (GMT)
commit1912edcaace1a3abd2bec910badd468ffac0f34a (patch)
treecbf6b6bbe4011bf65021940ac6ab00b95976949a /abs/core/sharutils/install
parent1aac1090f517acec0cb4f721a5b669bc2b411d02 (diff)
downloadlinhes_pkgbuild-1912edcaace1a3abd2bec910badd468ffac0f34a.zip
linhes_pkgbuild-1912edcaace1a3abd2bec910badd468ffac0f34a.tar.gz
linhes_pkgbuild-1912edcaace1a3abd2bec910badd468ffac0f34a.tar.bz2
sharutils: 4.11
Diffstat (limited to 'abs/core/sharutils/install')
-rw-r--r--abs/core/sharutils/install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/sharutils/install b/abs/core/sharutils/install
new file mode 100644
index 0000000..1de7696
--- /dev/null
+++ b/abs/core/sharutils/install
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(sharutils.info.gz)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir
+ done
+}