setup-hooks: compress-man-pages.sh: Do not attempt to compress .xz files

+2 -2
+2 -2
pkgs/build-support/setup-hooks/compress-man-pages.sh
··· 9 9 echo "gzipping man pages under $dir/share/man/" 10 10 11 11 # Compress all uncompressed manpages. Don't follow symlinks, etc. 12 - find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \ 12 + find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ 13 13 | while IFS= read -r -d $'\0' f 14 14 do 15 15 if gzip -c -n "$f" > "$f".gz; then ··· 20 20 done 21 21 22 22 # Point symlinks to compressed manpages. 23 - find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \ 23 + find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ 24 24 | sort -z \ 25 25 | while IFS= read -r -d $'\0' f 26 26 do