shutils/metadata.sh: better match for compressed info/manpage files.
--HG-- extra : convert_revision : 9bd1665f885de8203139aca155b73fd3581e66d9
This commit is contained in:
parent
e3dc49138f
commit
cf98ddde86
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue