shutils/metadata.sh: do not compress non info files.
--HG-- extra : convert_revision : f47d7a574ac8b22c539420ab572d38cef38a527e
This commit is contained in:
parent
7899c05ca2
commit
f3c5c5fe96
1 changed files with 6 additions and 0 deletions
|
@ -133,9 +133,15 @@ xbps_write_metadata_pkg_real()
|
|||
j=$(echo $f|sed -e "$fpattern")
|
||||
[ "$j" = "" ] && continue
|
||||
[ "$j" = "/usr/share/info/dir" ] && continue
|
||||
# Ignore compressed files.
|
||||
if $(echo $j|grep -q '.*.gz$'); then
|
||||
continue
|
||||
fi
|
||||
# Ignore non info files.
|
||||
if ! $(echo $j|grep -q '.*.info$') && \
|
||||
! $(echo $j|grep -q '.*.info-[0-9]*$'); then
|
||||
continue
|
||||
fi
|
||||
if [ -h ${DESTDIR}/$j ]; then
|
||||
dirat=$(dirname $j)
|
||||
lnkat=$(readlink ${DESTDIR}/$j)
|
||||
|
|
Loading…
Reference in a new issue