2014-08-11 18:05:13 +02:00
|
|
|
# this hook marks files which are about to change for generating vcdiffs
|
|
|
|
|
|
|
|
hook() {
|
2014-08-12 09:42:05 +02:00
|
|
|
type -P xdelta3 > /dev/null || return 0;
|
2014-08-11 18:05:13 +02:00
|
|
|
|
|
|
|
# create links to preserve old versions of repodata
|
|
|
|
find $XBPS_REPOSITORY -name '*-repodata' | \
|
|
|
|
while read; do
|
|
|
|
ln "${REPLY}" "${REPLY}.genVcdiff"
|
|
|
|
done
|
|
|
|
}
|