From 279e8524a63483ac3647ddf4dbd34c5ed9cc50db Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 5 Oct 2026 14:09:38 -0400 Subject: [PATCH] makezip: Don't install classic_statusbar.rsbs on targets without remotes Also nuke attempting to install the nonexistent 'rockbox_none.sbs' Change-Id: I22ed33c5d3d322b0509118005b1327aa88c61fcc --- tools/buildzip.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 99fb04cad2..38b7c870b9 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -668,12 +668,11 @@ sub buildzip { } else { copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.sbs"); } - if ($remote_depth != $depth) { - copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.rsbs"); - } else { + if ($remote_depth == $depth) { copy("$temp_dir/wps/classic_statusbar.sbs", "$temp_dir/wps/classic_statusbar.rsbs"); + } elsif ($remote_depth != 0) { + copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.rsbs"); } - copy("$temp_dir/wps/rockbox_none.sbs", "$temp_dir/wps/rockbox_none.rsbs"); # and the info file copy("rockbox-info.txt", "$temp_dir/rockbox-info.txt");