Check if file exists
This commit is contained in:
parent
081426e8e3
commit
f0b4ac9f2a
@ -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/')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user