summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-28 21:08:39 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-28 21:08:39 (EDT)
commit721c1e1879f830f13fd872e6287da543e9c402bc (patch)
treed22d6ba4d73ed26f8a5b40e3a7019a505ce7b415 /lib
parent9cd62660eb30ce4e060116037d3949c7a2d61d60 (diff)
_suite_copy_source(): Increment reference counter.
Diffstat (limited to 'lib')
-rw-r--r--lib/suite.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/suite.sh b/lib/suite.sh
index 2504cc0..d6c92ef 100644
--- a/lib/suite.sh
+++ b/lib/suite.sh
@@ -66,6 +66,8 @@ _suite_copy_source()
"${plat}" "${arch}" "${source}")"
db_set_binver "${dst_chan}" "${dst_dist}" "${plat}" "${arch}" \
"${source}" "${binver}"
+ db_inc_references "${plat}" "${arch}" "${source}" "${binver}" \
+ >/dev/null
while read -r size sect pkg; do
pool_file="pool/$(hash_name "${source}")/${source}"
pool_file="${pool_file}/${pkg}_${binver}"