From 27d9e7ffeaa6f2df5f8960dda92ef260047ee963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 15 Dec 2018 17:09:40 +0100 Subject: [PATCH] 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. --- common/hooks/post-install/00-uncompress-manpages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-install/00-uncompress-manpages.sh b/common/hooks/post-install/00-uncompress-manpages.sh index d5a1d31fe37..c7a4e470157 100644 --- a/common/hooks/post-install/00-uncompress-manpages.sh +++ b/common/hooks/post-install/00-uncompress-manpages.sh @@ -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 }