hooks/uncompress-manpages: prevent hang

In case when file to be uncompressed existed, decompressors asked
whether to overwrite it.
As output is muted, building hung silently waiting for input.
This commit is contained in:
Piotr Wójcik 2018-12-15 17:09:40 +01:00 committed by maxice8
parent c561be4108
commit 27d9e7ffea

View file

@ -16,6 +16,6 @@ hook() {
rm $f
done
find $mandir -type f -name '*.gz' -exec gunzip -v {} + &>/dev/null
find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} + &>/dev/null
find $mandir -type f -name '*.gz' -exec gunzip -v -f {} + &>/dev/null
find $mandir -type f -name '*.bz2' -exec bunzip2 -v -f {} + &>/dev/null
}