New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/37180#issuecomment-1135862687 Comment: If this does not remove it, then yes: ``` post_install() { if [ ! "$CHROOT_READY" ]; then rm -f "${DESTDIR}/usr/bin/c_rehash" fi } ``` See also: ``` openssl-c_rehash_package() { short_desc+=" - c_rehash utility" depends="openssl perl" pkg_install() { vmove usr/bin/c_rehash } } ```