diff options
Diffstat (limited to 'abs/core-testing/glibc/glibc.install')
-rw-r--r-- | abs/core-testing/glibc/glibc.install | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/core-testing/glibc/glibc.install b/abs/core-testing/glibc/glibc.install index 2ed1127..17c6b5d 100644 --- a/abs/core-testing/glibc/glibc.install +++ b/abs/core-testing/glibc/glibc.install @@ -34,8 +34,9 @@ mv /lib64 /lib && echo "/lib64 moved" fi fi + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null + usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null done } @@ -121,13 +122,15 @@ if [ "`uname -m`" = "x86_64" ]; then fi fi + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null + usr/bin/install-info $infodir/$file $infodir/dir 2> /dev/null done } pre_remove() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null + usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null done } |