From c3acbd05b0fa76037ca5b95545a09dc0d356ad79 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Wed, 31 Oct 2018 21:37:20 +0100 Subject: [PATCH] CommonInstaller: make GApps removal less brutal --- CommonInstaller | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CommonInstaller b/CommonInstaller index 53509e3..f43feb4 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -679,20 +679,6 @@ install_microg () { fi done - if [ -f /data/system/packages.xml ]; then - cp /data/system/packages.xml /tmp/packages.xml - - for app in ${GOOGLE_DATA_DIRTY}; do - awk -v RS='' "!/${app}/"'{print $0 RS}' \ - /tmp/packages.xml > /tmp/_packages.xml - - mv /tmp/_packages.xml /tmp/packages.xml - sed -e '$ d' -i /tmp/packages.xml - done - - cp /tmp/packages.xml /data/system/packages.xml - fi - if [ -f /data/system/packages.list ]; then for app in ${GOOGLE_DATA_DIRTY}; do sed -e "/${app}/d" -i /data/system/packages.list