From 9ea500b7b08c6b3bf3ab817ea47b8b0eb8da6e6b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Mar 2009 15:53:54 +0100 Subject: [PATCH] binpkg: test for /usr/share/info dir, to fix subpkgs. --HG-- extra : convert_revision : 162ec89e0943dc5b033fd1fee961cfc243cd82ba --- shutils/binpkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shutils/binpkg.sh b/shutils/binpkg.sh index fc93b45665a..768eb06c915 100644 --- a/shutils/binpkg.sh +++ b/shutils/binpkg.sh @@ -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