summaryrefslogtreecommitdiff
path: root/community/qingy/qingy.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/qingy/qingy.install')
-rw-r--r--community/qingy/qingy.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/qingy/qingy.install b/community/qingy/qingy.install
index 5cf234b72..0defe31d8 100644
--- a/community/qingy/qingy.install
+++ b/community/qingy/qingy.install
@@ -2,6 +2,7 @@ infodir=usr/share/info
filelist=(qingy.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,6 +13,7 @@ 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