Browse Source

fixing 'Checking if already patched'

pull/3/head
Martin Dünkelmann 3 years ago
parent
commit
0ea8e12205
Signed by untrusted user: MartinX3 GPG Key ID: 992977C753423FB8
  1. 2
      tmp/patch_dualsim.sh

2
tmp/patch_dualsim.sh

@ -16,7 +16,7 @@ function check_if_system_as_root() {
# Sanity check - was this patch already flashed?
function check_if_already_patched() {
echo "Checking if already patched"
if $(cat ${system_path}/vendor/etc/vintf/manifest.xml | grep slot2)
if [ ! -z "$(cat ${system_path}/vendor/etc/vintf/manifest.xml | grep slot2)" ]
then
echo "Already patched"
exit 0

Loading…
Cancel
Save