strix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# ADDOND_VERSION=2
|
||||
#
|
||||
# /system/addon.d/50-minus.sh
|
||||
# /system/addon.d/50-strix.sh
|
||||
# During a MinusOS upgrade, this script backs up /system/etc/hosts,
|
||||
# /system is formatted and reinstalled, then the file is restored.
|
||||
#
|
@@ -48,7 +48,7 @@ if [ ! -r $S/build.prop ]; then
|
||||
echo "Backup/restore is not possible. Partition is probably empty"
|
||||
return 1
|
||||
fi
|
||||
if ! grep -q "^ro.minus.version=$V.*" $S/build.prop; then
|
||||
if ! grep -q "^ro.strix.version=$V.*" $S/build.prop; then
|
||||
echo "Backup/restore is not possible. Incompatible ROM version: $V"
|
||||
return 2
|
||||
fi
|
||||
|
@@ -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.minus.version=$V.*" /system/build.prop; then
|
||||
if ! grep -q "^ro.strix.version=$V.*" /system/build.prop; then
|
||||
echo "Backup/restore is not possible. Incompatible ROM version: $V"
|
||||
return 2
|
||||
fi
|
||||
|
@@ -1,4 +1,4 @@
|
||||
on post-fs-data
|
||||
# Create an additional OTA package directory that unlike /data/ota_package
|
||||
# will not be touched by GmsCore.
|
||||
mkdir /data/minusos_updates 0770 system cache encryption=Require
|
||||
mkdir /data/strixos_updates 0770 system cache encryption=Require
|
Reference in New Issue
Block a user