summaryrefslogtreecommitdiffstats
path: root/abs/core/ed/ed.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:46:07 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:46:07 (GMT)
commit0b0821f89efdc3c8a72c455258017b75d7322576 (patch)
treea981bc4490b83317c113b61e02a729bcf14da3b3 /abs/core/ed/ed.install
parent5e29a75f3f39cc350d4fb0cd4ca52d2c03cae549 (diff)
downloadlinhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.zip
linhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.tar.gz
linhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.tar.bz2
ed: 1.9
refs #961
Diffstat (limited to 'abs/core/ed/ed.install')
-rw-r--r--abs/core/ed/ed.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/ed/ed.install b/abs/core/ed/ed.install
new file mode 100644
index 0000000..2be95d9
--- /dev/null
+++ b/abs/core/ed/ed.install
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ed.info)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2>/dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2>/dev/null
+ done
+}