aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-11-18 12:34:50 -0500
committerMike Gilbert <floppym@gentoo.org>2022-11-18 12:34:50 -0500
commitf7af005b835e7fee7cb9990fa551128e3fc480a5 (patch)
tree40fb37e877898a0335ea4c557afd59a0dc5cf00a
parentCall emerge instead of qmerge to unmerge packages (diff)
downloadcrossdev-f7af005b835e7fee7cb9990fa551128e3fc480a5.tar.gz
crossdev-f7af005b835e7fee7cb9990fa551128e3fc480a5.tar.bz2
crossdev-f7af005b835e7fee7cb9990fa551128e3fc480a5.zip
Revert "crossdev: clean world file on uninstall"
This hack is unnecessary if we use emerge for uninstalls instead. Reverts: bec5fd6a5597f736a868e79017f99b5bc79a9dbf Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rwxr-xr-xcrossdev3
1 files changed, 0 insertions, 3 deletions
diff --git a/crossdev b/crossdev
index 6c3a3e4..1b37e47 100755
--- a/crossdev
+++ b/crossdev
@@ -584,9 +584,6 @@ uninstall() {
ewarn "Uninstalling target '${CTARGET}' ..."
# clean out portage config files
- if grep -qs "^cross-${CTARGET}/" "${EPREFIX}"/var/lib/portage/world ; then
- sed -i "/^cross-${CTARGET}/d" "${EPREFIX}"/var/lib/portage/world
- fi
if [[ -d ${CROSSDEV_OVERLAY}/cross-${CTARGET} ]]; then
rm -r "${CROSSDEV_OVERLAY}"/cross-${CTARGET}
# if we remove all the package in the category,