hooks/xdelta: use silent output; those warnings are too noisy.

This commit is contained in:
Juan RP 2014-08-14 08:56:48 +02:00
parent 5077750c05
commit 234a4fd685
2 changed files with 5 additions and 8 deletions

View file

@ -3,10 +3,9 @@
hook() {
type -P xdelta3 > /dev/null || return 0
env
# create links to preserve old versions of repodata
find $XBPS_REPOSITORY -name "${XBPS_TARGET_MACHINE}-repodata" | while read; do
rm "${REPLY}.genVcdiff" || true
( rm "${REPLY}.genVcdiff" 2>/dev/null ) || true
cp "${REPLY}" "${REPLY}.genVcdiff"
done
}