hooks: remove common/hooks/post-install/04-create-xbps-vpkg-files.sh.
It's unnecessary with xbps>=0.42.
This commit is contained in:
parent
b77c7a6836
commit
fc052bad5b
|
@ -1,17 +0,0 @@
|
|||
# This hook generates XBPS configuration files for virtual packages.
|
||||
|
||||
hook() {
|
||||
local _tmpf
|
||||
|
||||
# If package provides virtual packages, create dynamically the
|
||||
# required configuration file.
|
||||
if [ -n "$provides" ]; then
|
||||
_tmpf=$(mktemp) || msg_error "$pkgver: failed to create tempfile.\n"
|
||||
echo "# Virtual packages provided by '${pkgname}':" >>${_tmpf}
|
||||
for f in ${provides}; do
|
||||
echo "virtualpkg=${f}:${pkgname}" >>${_tmpf}
|
||||
done
|
||||
install -Dm644 ${_tmpf} ${PKGDESTDIR}/usr/share/xbps/virtualpkg.d/${pkgname}.conf
|
||||
rm -f ${_tmpf}
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue