From 884ee1c683726be5fef6cf1e2220049aaab7a6d9 Mon Sep 17 00:00:00 2001 From: David Carley Date: Mon, 5 Sep 2022 09:34:49 +0000 Subject: [PATCH] install.sh: Always install the Onefinity theme --- scripts/install.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 029537b..23ca43e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -116,11 +116,12 @@ if [ ! -e ~pi/.ratpoisonrc ]; then fi # Configure the Plymouth graphical bootloader with the Onefinity theme -if [ ! -e /usr/share/plymouth/themes/onefinity/onefinity.plymouth ]; then - mkdir -p /usr/share/plymouth/themes/onefinity/ - cp -av installer/splash/* /usr/share/plymouth/themes/onefinity/ - plymouth-set-default-theme -R onefinity -fi +rm -rf /usr/share/plymouth/themes/buildbotics +rm -rf /usr/share/plymouth/themes/onefinity +mkdir -p /usr/share/plymouth/themes/onefinity/ +cp -av installer/splash/* /usr/share/plymouth/themes/onefinity/ +plymouth-set-default-theme -R onefinity + grep 'quiet splash plymouth.ignore-serial-consoles logo.nologo' /boot/cmdline.txt >/dev/null if [ $? -ne 0 ]; then echo -n " quiet splash plymouth.ignore-serial-consoles logo.nologo" >> /boot/cmdline.txt