10 lines
285 B
Bash
10 lines
285 B
Bash
# this hook marks files which are about to change for generating vcdiffs
|
|
|
|
hook() {
|
|
type -P xdelta3 > /dev/null || return 0
|
|
|
|
# create links to preserve old versions of repodata
|
|
find $XBPS_REPOSITORY -name '*-repodata' | while read; do
|
|
ln -f "${REPLY}" "${REPLY}.genVcdiff"
|
|
done
|
|
}
|