Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Restore deleting of portupgrade's pkgdb after conversion
Bryan Drewery committed 13 years ago
commit 12bc5995f12b8e90b057232de6df5423a26dd6f1
parent 1a1b37e
1 file changed +3 -0
modified ports/pkg2ng
@@ -19,3 +19,6 @@ FORCE_POST=$(make _POSTMKINCLUDED=1 -f ${pkgng_mk_dir}/bsd.pkgng.mk -V _FORCE_PO
[ -n "$tmp_pkgng_mk_dir" ] && rm -rf $tmp_pkgng_mk_dir

FORCE_PORT=$FORCE_POST pkg convert
+

+
# Delete the portupgrade pkgdb to avoid discrepencies. It will be auto recreated.
+
rm -f /var/db/pkg/pkgdb.db > /dev/null 2>&1