From cf98ddde8666fce7011bdf379eae9f511ac7807a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Mar 2009 06:47:52 +0100 Subject: [PATCH] shutils/metadata.sh: better match for compressed info/manpage files. --HG-- extra : convert_revision : 9bd1665f885de8203139aca155b73fd3581e66d9 --- shutils/metadata.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutils/metadata.sh b/shutils/metadata.sh index 278b54950cf..092ff9d480d 100644 --- a/shutils/metadata.sh +++ b/shutils/metadata.sh @@ -123,7 +123,7 @@ xbps_write_metadata_pkg_real() j=$(echo $f|sed -e "$fpattern") [ "$j" = "" ] && continue [ "$j" = "/usr/share/info/dir" ] && continue - if $(echo $j|grep -q '.gz'); then + if $(echo $j|grep -q '.*.gz$'); then continue fi if [ -h ${DESTDIR}/$j ]; then @@ -148,7 +148,7 @@ xbps_write_metadata_pkg_real() for f in $(find -L ${DESTDIR}/usr/share/man -type f); do j=$(echo $f|sed -e "$fpattern") [ "$j" = "" ] && continue - if $(echo $j|grep -q '.gz'); then + if $(echo $j|grep -q '.*.gz$'); then continue fi if [ -h ${DESTDIR}/$j ]; then