Backend: fix ui_printfile on Lineage-based recoveries
- add padding character to work around bad handling of leading whitespace which CWM-based and TWRP-based both handle fine
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -24,8 +24,10 @@ ui_print() {
|
||||
done;
|
||||
}
|
||||
ui_printfile() {
|
||||
local line losrpad;
|
||||
[ -e /twres ] || losrpad='| '; # work around LOS Recovery eating leading whitespace
|
||||
while IFS='' read -r line || $BB [[ -n "$line" ]]; do
|
||||
ui_print "$line";
|
||||
ui_print "$losrpad$line";
|
||||
done < $1;
|
||||
}
|
||||
show_progress() { echo "progress $1 $2" >> $OUTFD; }
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
||||
#
|
||||
#
|
||||
# AK_BASE_VERSION=20230208
|
||||
# AK_BASE_VERSION=20230316
|
||||
Reference in new issue
Block a user