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

Commit 29fca646 authored by Adrian DC's avatar Adrian DC Committed by Bruno Martins
Browse files

backuptool: Revert "Temporarily render version check permissive"

This reverts commit fa279c980512c5d25de6bbd4f8d6397a2ae2b252.
Change-Id: Ib3e88ef3ff80bd466c9ec73edc8224713d331657
parent 86e79255
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -48,10 +48,10 @@ check_prereq() {
if [ ! -r /system/build.prop ]; then
    return 0
fi
# if [ ! grep -q "^ro.lineage.version=$V.*" /system/etc/prop.default /system/build.prop ]; then
#   echo "Not backing up files from incompatible version: $V"
#   return 0
# fi
if [ ! grep -q "^ro.lineage.version=$V.*" /system/etc/prop.default /system/build.prop ]; then
  echo "Not backing up files from incompatible version: $V"
  return 0
fi
return 1
}