xbps-src: remove WIP repo delta support.

- it never worked correctly
- it's WIP and looks like it will be stalled forever
- won't be necessary anymore with xbps-0.42
This commit is contained in:
Juan RP 2014-10-14 19:16:29 +02:00
parent 1cee26a59f
commit 033c4ed0f5
4 changed files with 1 additions and 44 deletions

View file

@ -1,12 +0,0 @@
# this hook marks files which are about to change for generating vcdiffs
hook() {
[ -z "$XBPS_REPO_DELTAS" ] && return 0
type -P xdelta3 > /dev/null || return 0
# create links to preserve old versions of repodata
find $XBPS_REPOSITORY -name "${XBPS_TARGET_MACHINE}-repodata" | while read; do
( rm "${REPLY}.genVcdiff" 2>/dev/null ) || true
cp "${REPLY}" "${REPLY}.genVcdiff"
done
}