From bae2c9bc630fbc28a584bd5905aed9d2739f729e Mon Sep 17 00:00:00 2001 From: Drgravy Date: Sat, 11 Feb 2017 12:01:05 -0600 Subject: [PATCH] fix LG bump support for uninstaller --- scripts/magisk_uninstaller.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/magisk_uninstaller.sh b/scripts/magisk_uninstaller.sh index 8b205079a..fff5ddacd 100644 --- a/scripts/magisk_uninstaller.sh +++ b/scripts/magisk_uninstaller.sh @@ -101,10 +101,19 @@ LGE_G=false RBRAND=$(grep_prop ro.product.brand) RMODEL=$(grep_prop ro.product.device) if [ "$RBRAND" = "lge" ] || [ "$RBRAND" = "LGE" ]; then - if [ "$RMODEL" = "*D80*" ] || - [ "$RMODEL" = "*S98*" ] || - [ "$RMODEL" = "*D85*" ] || - [ "$RMODEL" = "*F40*" ]; then + if [ "$RMODEL" = "d800" ] || + [ "$RMODEL" = "d801" ] || + [ "$RMODEL" = "d802" ] || + [ "$RMODEL" = "d803" ] || + [ "$RMODEL" = "ls980" ] || + [ "$RMODEL" = "vs980" ] || + [ "$RMODEL" = "l01f" ] || + [ "$RMODEL" = "d850" ] || + [ "$RMODEL" = "d852" ] || + [ "$RMODEL" = "d855" ] || + [ "$RMODEL" = "ls990" ] || + [ "$RMODEL" = "vs985" ] || + [ "$RMODEL" = "f400" ]; then LGE_G=true ui_print "! Bump device detected" fi