summaryrefslogtreecommitdiffstats
path: root/abs/core/nano/nano.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 06:45:17 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 06:45:17 (GMT)
commitebc76d7ab6b252f69642e9f73481d1864f3da3c7 (patch)
tree4eb836216b74eb193d4dab681bd110dfc15660e4 /abs/core/nano/nano.install
parentd15fb78ef03a06029a4be89baf458353f3ccbbb0 (diff)
downloadlinhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.zip
linhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.tar.gz
linhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.tar.bz2
nano:bumped to latest.
Diffstat (limited to 'abs/core/nano/nano.install')
-rw-r--r--abs/core/nano/nano.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/nano/nano.install b/abs/core/nano/nano.install
index 9842c9e..a320c40 100644
--- a/abs/core/nano/nano.install
+++ b/abs/core/nano/nano.install
@@ -1,7 +1,8 @@
infodir=/usr/share/info
-filelist=(nano.info)
+filelist=(nano.info.gz)
post_install() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
@@ -12,9 +13,8 @@ post_upgrade() {
}
pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}
-
-# vim:set ts=2 sw=2 et: