summaryrefslogtreecommitdiffstats
path: root/abs/core/coreutils/coreutils.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-07 15:11:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-07 15:11:57 (GMT)
commit114dd42e54b42258e90d2783d6c4fc5e0f25a8d6 (patch)
treed49694ea4b694aa5b79d7d1c7fda6bf80ce6f912 /abs/core/coreutils/coreutils.install
parentd5733e2238ed9dc5076d90b12a7cf16a1fb591b2 (diff)
downloadlinhes_pkgbuild-114dd42e54b42258e90d2783d6c4fc5e0f25a8d6.zip
linhes_pkgbuild-114dd42e54b42258e90d2783d6c4fc5e0f25a8d6.tar.gz
linhes_pkgbuild-114dd42e54b42258e90d2783d6c4fc5e0f25a8d6.tar.bz2
coreutiles: 8.20
This pkg is here for reference only, we actually use the one provided by arch
Diffstat (limited to 'abs/core/coreutils/coreutils.install')
-rw-r--r--abs/core/coreutils/coreutils.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/coreutils/coreutils.install b/abs/core/coreutils/coreutils.install
new file mode 100644
index 0000000..22cfcb2
--- /dev/null
+++ b/abs/core/coreutils/coreutils.install
@@ -0,0 +1,17 @@
+infodir=usr/share/info
+file=coreutils.info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+