diff options
Diffstat (limited to 'extra/indent/indent.install')
-rw-r--r-- | extra/indent/indent.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/indent/indent.install b/extra/indent/indent.install index c48622c55..c5a87a6d9 100644 --- a/extra/indent/indent.install +++ b/extra/indent/indent.install @@ -1,7 +1,8 @@ -info_dir=/usr/share/info +info_dir=usr/share/info info_file=indent.info.gz post_install() { + [ -x usr/bin/install-info ] || return 0 install-info ${info_dir}/$info_file ${info_dir}/dir 2> /dev/null } @@ -10,5 +11,6 @@ post_upgrade() { } pre_remove() { + [ -x usr/bin/install-info ] || return 0 install-info --delete ${info_dir}/$info_file ${info_dir}/dir 2> /dev/null } |