aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-09-23 11:19:26 -0400
committerMike Gilbert <floppym@gentoo.org>2022-09-23 11:23:24 -0400
commit10a87d6f135b30140a168190b408c49daf8a15ae (patch)
tree81f3696a53d8fbce6474e3a56116436e125d2a77
parentwrappers: Actually set PKGDIR to /var/cache/binpkgs (diff)
downloadcrossdev-10a87d6f135b30140a168190b408c49daf8a15ae.tar.gz
crossdev-10a87d6f135b30140a168190b408c49daf8a15ae.tar.bz2
crossdev-10a87d6f135b30140a168190b408c49daf8a15ae.zip
Call emerge instead of qmerge to unmerge packages
qmerge does not remove packages from the world file. Also, this allows us to drop the dependency on portage-utils. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rwxr-xr-xcrossdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/crossdev b/crossdev
index 6b868f8..6c3a3e4 100755
--- a/crossdev
+++ b/crossdev
@@ -638,7 +638,7 @@ uninstall() {
rmdir "${EPREFIX}"/etc/revdep-rebuild 2>/dev/null
# Unmerge all toolchain packages for this target.
- qmerge -Uqy $(qlist -IC "cross-${CTARGET}/")
+ emerge -q --rage-clean "cross-${CTARGET}/*"
# clean out known toolchain files (binutils/gcc)
for f in \