AK3: better backwards compatibility for keep_vbmeta_flag (unset=auto)

This commit is contained in:
osm0sis committed 2021-12-11 00:12:14 -04:00
1 parent 78f08d471e
commit 12baa2739a
1 file changed
+1 -1
+1 -1
View File
@@ -356,7 +356,7 @@ flash_boot() {
none|cpio) nocompflag="-n";; none|cpio) nocompflag="-n";;
esac; esac;
case $keep_vbmeta_flag in case $keep_vbmeta_flag in
auto) [ "$KEEPVBMETAFLAG" ] || export KEEPVBMETAFLAG=false;; auto|"") [ "$KEEPVBMETAFLAG" ] || export KEEPVBMETAFLAG=false;;
1) export KEEPVBMETAFLAG=true;; 1) export KEEPVBMETAFLAG=true;;
*) export KEEPVBMETAFLAG=false;; *) export KEEPVBMETAFLAG=false;;
esac; esac;