Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d33cc31 authored by Timi's avatar Timi Committed by Łukasz Patron
Browse files

Updater: push-update: unroot on exit if zip exists

Change-Id: I10ccb345d02830337bc8aefa4f3d41e80e42d064
parent ed361570
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ fi
zip_path_device=$updates_dir/`basename "$zip_path"`
if adb shell test -f "$zip_path_device"; then
    echo "$zip_path_device exists already"
    adb unroot
    exit 1
fi