@@ -56,7 +56,7 @@ if [ ! -r /system/build.prop ]; then
|
||||
echo "Backup/restore is not possible. Partition is probably empty"
|
||||
return 1
|
||||
fi
|
||||
if ! grep -q "^ro.lineage.version=$V.*" /system/build.prop; then
|
||||
if ! grep -q "^ro.minus.version=$V.*" /system/build.prop; then
|
||||
echo "Backup/restore is not possible. Incompatible ROM version: $V"
|
||||
return 2
|
||||
fi
|
||||
|
Reference in New Issue
Block a user