Better check to detect if pkg has info files.
--HG-- extra : convert_revision : 837f78240d6a59d511d5c0c5b0b9870d76b4b42c
This commit is contained in:
parent
26f8175b51
commit
c5180507d3
1 changed files with 3 additions and 2 deletions
|
@ -111,8 +111,9 @@ xbps_write_metadata_pkg_real()
|
||||||
# Find out if this package contains info files and compress
|
# Find out if this package contains info files and compress
|
||||||
# all them with gzip.
|
# all them with gzip.
|
||||||
#
|
#
|
||||||
if [ -d "${DESTDIR}/usr/share/info" ]; then
|
if [ -f ${DESTDIR}/usr/share/info/dir ]; then
|
||||||
if [ -f ${XBPS_MASTERDIR}/usr/share/info/dir ]; then
|
# Always remove this file if curpkg is not texinfo.
|
||||||
|
if [ "$pkgname" != "texinfo" ]; then
|
||||||
rm -f ${DESTDIR}/usr/share/info/dir
|
rm -f ${DESTDIR}/usr/share/info/dir
|
||||||
fi
|
fi
|
||||||
# Add info-files trigger.
|
# Add info-files trigger.
|
||||||
|
|
Loading…
Reference in a new issue