shutils/metadata.sh: better match for compressed info/manpage files.

--HG--
extra : convert_revision : 9bd1665f885de8203139aca155b73fd3581e66d9
This commit is contained in:
Juan RP 2009-03-18 06:47:52 +01:00
parent e3dc49138f
commit cf98ddde86

View file

@ -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