diff options
author | Michael Reilly <OmnipotentEntity@gmail.com> | 2021-08-19 16:38:07 -0400 |
---|---|---|
committer | Michael Reilly <OmnipotentEntity@gmail.com> | 2021-08-19 17:13:05 -0400 |
commit | 51f21e91e85a6904d4d16436c7bb5dc17f1f1865 (patch) | |
tree | abc9c73eecbbe1c801836e16135c9db47d4b58a1 /pkgs/build-support | |
parent | 8472d44b82084f8b638b0dca248fae61b9bd1bad (diff) |
setup-hooks: compress-man-pages.sh: Do not attempt to compress .xz files
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/setup-hooks/compress-man-pages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/setup-hooks/compress-man-pages.sh b/pkgs/build-support/setup-hooks/compress-man-pages.sh index f5af76e8168f1..0d8a76558026e 100644 --- a/pkgs/build-support/setup-hooks/compress-man-pages.sh +++ b/pkgs/build-support/setup-hooks/compress-man-pages.sh @@ -9,7 +9,7 @@ compressManPages() { echo "gzipping man pages under $dir/share/man/" # Compress all uncompressed manpages. Don't follow symlinks, etc. - find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \ + find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ | while IFS= read -r -d $'\0' f do if gzip -c -n "$f" > "$f".gz; then @@ -20,7 +20,7 @@ compressManPages() { done # Point symlinks to compressed manpages. - find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \ + find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ | sort -z \ | while IFS= read -r -d $'\0' f do |