From f7af005b835e7fee7cb9990fa551128e3fc480a5 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 18 Nov 2022 12:34:50 -0500 Subject: 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 --- crossdev | 3 --- 1 file changed, 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, -- cgit v1.2.3-65-gdbad