xbps-src: revert 8271950e94
.
This broke info files dir handling because empty dirs are removed *after* metadata code is executed. So back to previous and known way.
This commit is contained in:
parent
09c08fe732
commit
6166c5ebc6
@ -101,7 +101,7 @@ 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 ${DESTDIR}/usr/share/info/dir ]; then
|
||||
# Always remove this file if curpkg is not texinfo.
|
||||
if [ "$pkgname" != "texinfo" ]; then
|
||||
[ -f ${DESTDIR}/usr/share/info/dir ] && \
|
||||
|
Loading…
Reference in New Issue
Block a user