Update pbin digest hook

This commit is contained in:
Your Name 2016-10-03 13:31:25 +02:00
parent 1417ed23e6
commit aeb8f23c91

View File

@ -5,8 +5,7 @@ source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
_my_pbin_repo="hasufell-binhost" _my_pbin_repo="hasufell-binhost"
if [[ ${CAVE_PERFORM_CMDLINE_destination} == ${_my_pbin_repo} ]] ; then if [[ ${CAVE_PERFORM_CMDLINE_destination} == ${_my_pbin_repo} ]] ; then
_mypn=${TARGET%%:*} _mypn=$(cave print-ids --matching "${TARGET}" -f '%c/%p')
_mypn=${_mypn%-*}
einfo "Updating ${_mypn} digest in ${_my_pbin_repo}" einfo "Updating ${_mypn} digest in ${_my_pbin_repo}"
cave digest ${_mypn} ${_my_pbin_repo} cave digest ${_mypn} ${_my_pbin_repo}