Better check to detect if pkg has info files.
--HG-- extra : convert_revision : 837f78240d6a59d511d5c0c5b0b9870d76b4b42c
This commit is contained in:
parent
26f8175b51
commit
c5180507d3
|
@ -111,8 +111,9 @@ xbps_write_metadata_pkg_real()
|
|||
# Find out if this package contains info files and compress
|
||||
# all them with gzip.
|
||||
#
|
||||
if [ -d "${DESTDIR}/usr/share/info" ]; then
|
||||
if [ -f ${XBPS_MASTERDIR}/usr/share/info/dir ]; then
|
||||
if [ -f ${DESTDIR}/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
|
||||
fi
|
||||
# Add info-files trigger.
|
||||
|
|
Loading…
Reference in New Issue