Add pbin digest update hook
This commit is contained in:
parent
c168d0b772
commit
1417ed23e6
14
hooks/install_post/update-pbin-digest.bash
Normal file
14
hooks/install_post/update-pbin-digest.bash
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
_my_pbin_repo="hasufell-binhost"
|
||||
|
||||
if [[ ${CAVE_PERFORM_CMDLINE_destination} == ${_my_pbin_repo} ]] ; then
|
||||
_mypn=${TARGET%%:*}
|
||||
_mypn=${_mypn%-*}
|
||||
einfo "Updating ${_mypn} digest in ${_my_pbin_repo}"
|
||||
|
||||
cave digest ${_mypn} ${_my_pbin_repo}
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user