summaryrefslogtreecommitdiffstats
path: root/abs/core/diffutils/diffutils.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 08:06:38 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 08:06:38 (GMT)
commitb1ff38c1c8b20aacea33f29e79bdf5ff9fd082e9 (patch)
treebf092139458380b84348798a14f526fa58f5c961 /abs/core/diffutils/diffutils.install
parentde0b9c170e5be49e648d4af9866bd5e397b0b817 (diff)
downloadlinhes_pkgbuild-b1ff38c1c8b20aacea33f29e79bdf5ff9fd082e9.zip
linhes_pkgbuild-b1ff38c1c8b20aacea33f29e79bdf5ff9fd082e9.tar.gz
linhes_pkgbuild-b1ff38c1c8b20aacea33f29e79bdf5ff9fd082e9.tar.bz2
diffutils:bumped to latest.
Diffstat (limited to 'abs/core/diffutils/diffutils.install')
-rw-r--r--abs/core/diffutils/diffutils.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/diffutils/diffutils.install b/abs/core/diffutils/diffutils.install
new file mode 100644
index 0000000..3ebec28
--- /dev/null
+++ b/abs/core/diffutils/diffutils.install
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(diff.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $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
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}