diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-14 10:28:27 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-14 10:28:27 +0000 |
commit | b0aedbb03ada470da6f7932855c7a71cfc22c708 (patch) | |
tree | 44894dded8a55efd110eca7718d4e495ad2f3f42 /common/hooks/post-pkg | |
parent | 5e30580d8052cf8edc322a6848bf0fa8be1bf3c4 (diff) | |
download | void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar.gz void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar.bz2 void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar.lz void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar.xz void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.tar.zst void-packages-b0aedbb03ada470da6f7932855c7a71cfc22c708.zip |
xbps-src: added -D to generate repository binary deltas; disabled for now.
Diffstat (limited to 'common/hooks/post-pkg')
-rw-r--r-- | common/hooks/post-pkg/01-xdelta_repolist.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/hooks/post-pkg/01-xdelta_repolist.sh b/common/hooks/post-pkg/01-xdelta_repolist.sh index 26fb31aee5a..09ad59f3fd6 100644 --- a/common/hooks/post-pkg/01-xdelta_repolist.sh +++ b/common/hooks/post-pkg/01-xdelta_repolist.sh @@ -1,6 +1,7 @@ # This hook generates vcdiffs for repository data. hook() { + [ -z "$XBPS_REPO_DELTAS" ] && return 0 type -P xdelta3 > /dev/null || return 0 find $XBPS_REPOSITORY -name "${XBPS_TARGET_MACHINE}-repodata.genVcdiff" | xargs -r sha256sum | \ |