exherbo-config/hooks/install_post/update-pbin-digest.bash

14 lines
329 B
Bash
Raw Permalink Normal View History

2016-10-03 10:27:37 +00:00
#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
_my_pbin_repo="hasufell-binhost"
if [[ ${CAVE_PERFORM_CMDLINE_destination} == ${_my_pbin_repo} ]] ; then
2016-10-03 11:47:50 +00:00
_mypn=$(cave print-ids --matching "=${TARGET}" -f '%c/%p')
2016-10-03 10:27:37 +00:00
einfo "Updating ${_mypn} digest in ${_my_pbin_repo}"
cave digest ${_mypn} ${_my_pbin_repo}
fi