diff --git a/packages/bsp/common/usr/lib/armbian/armbian-firstrun b/packages/bsp/common/usr/lib/armbian/armbian-firstrun index b62f2201fa..a34954bdf1 100755 --- a/packages/bsp/common/usr/lib/armbian/armbian-firstrun +++ b/packages/bsp/common/usr/lib/armbian/armbian-firstrun @@ -47,7 +47,7 @@ case "$1" in echo -e "\n### [firstrun] Recreated SSH keys (entropy: ${entropy_before} ${entropy_after})" >>${Log} # get rid of purple background color in newt apps whiptail, partimage, debconf ... Reverting to Debian look. - sed -e 's/magenta/blue/g' -i /etc/newt/palette + [[ -f /etc/newt/palette ]] && sed -e 's/magenta/blue/g' -i /etc/newt/palette # desktop tweaks - enable show windows content on stronger boards cpu_cores=$(grep -c '^processor' /proc/cpuinfo | sed 's/^0$/1/')