xbps-src: hooks/create-xbps-vpkg-files: create vpkg conf files in usr/share/xbps/virtualpkg.d.

This commit is contained in:
Juan RP 2014-06-10 09:27:52 +02:00
parent b747269490
commit b8aa34ce24

View file

@ -11,7 +11,7 @@ hook() {
for f in ${provides}; do
echo "virtualpkg=${f}:${pkgname}" >>${_tmpf}
done
install -Dm644 ${_tmpf} ${PKGDESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.vpkg
install -Dm644 ${_tmpf} ${PKGDESTDIR}/usr/share/xbps/virtualpkg.d/${pkgname}.conf
rm -f ${_tmpf}
fi
}