binpkg: test for /usr/share/info dir, to fix subpkgs.

--HG--
extra : convert_revision : 162ec89e0943dc5b033fd1fee961cfc243cd82ba
This commit is contained in:
Juan RP 2009-03-12 15:53:54 +01:00
parent bbcc9c4b13
commit 9ea500b7b0

View file

@ -111,7 +111,7 @@ xbps_write_metadata_pkg_real()
# Find out if this package contains info files and compress
# all them with gzip.
#
if [ -f "${DESTDIR}/usr/share/info/dir" ]; then
if [ -d "${DESTDIR}/usr/share/info" ]; then
if [ -f ${XBPS_MASTERDIR}/usr/share/info/dir ]; then
rm -f ${DESTDIR}/usr/share/info/dir
fi