hooks/uncompress-manpages: make it less verbose.
This commit is contained in:
parent
adace6585e
commit
85a0d8034e
1 changed files with 3 additions and 5 deletions
|
@ -12,16 +12,14 @@ hook() {
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " Uncompressing manpages..."
|
|
||||||
|
|
||||||
# rewrite symlinks
|
# rewrite symlinks
|
||||||
find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f
|
find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f
|
||||||
do
|
do
|
||||||
lnkat=$(readlink "$f")
|
lnkat=$(readlink "$f")
|
||||||
ln -vs ${lnkat%.*} ${f%.*}
|
ln -s ${lnkat%.*} ${f%.*}
|
||||||
rm $f
|
rm $f
|
||||||
done
|
done
|
||||||
|
|
||||||
find $mandir -type f -name '*.gz' -exec gunzip -v {} +
|
find $mandir -type f -name '*.gz' -exec gunzip -v {} + &>/dev/null
|
||||||
find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} +
|
find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} + &>/dev/null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue