we don't care if user has modified the boot_logo

This commit is contained in:
Shaun Inman 2023-02-14 12:57:38 -05:00
parent a98b584623
commit 83ed517f80
2 changed files with 9 additions and 2 deletions

View file

@ -23,8 +23,15 @@ fi
was_updated() {
for FILE in /misc/* /misc/*/*; do
A_NAME=$(busybox basename "$A_PATH")
if [[ "$A_NAME" == "boot_logo.bmp.gz" ]]; then
# we don't care if the user has changed their boot logo
continue
fi
A_PATH=$FILE
B_PATH=$SYSTEM_PATH/dat/$(busybox basename "$A_PATH")
B_PATH=$SYSTEM_PATH/dat/$A_NAME
if [ ! -f "$B_PATH" ]; then
continue