summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/glibc/glibc.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-13 21:52:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-13 21:52:26 (GMT)
commit2b54be0f61030353be24be66a31fe5f04318acbd (patch)
tree54f7440630abde5abf7576edc66624bca6f7e8fe /abs/core-testing/glibc/glibc.install
parentd0e2c4462627d0f1e289aea8ae5c352293194b79 (diff)
downloadlinhes_pkgbuild-2b54be0f61030353be24be66a31fe5f04318acbd.zip
linhes_pkgbuild-2b54be0f61030353be24be66a31fe5f04318acbd.tar.gz
linhes_pkgbuild-2b54be0f61030353be24be66a31fe5f04318acbd.tar.bz2
upstream sync for glibc.
Diffstat (limited to 'abs/core-testing/glibc/glibc.install')
-rw-r--r--abs/core-testing/glibc/glibc.install9
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
}