install.sh: Always install the Onefinity theme
This commit is contained in:
@@ -116,11 +116,12 @@ if [ ! -e ~pi/.ratpoisonrc ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Configure the Plymouth graphical bootloader with the Onefinity theme
|
# Configure the Plymouth graphical bootloader with the Onefinity theme
|
||||||
if [ ! -e /usr/share/plymouth/themes/onefinity/onefinity.plymouth ]; then
|
rm -rf /usr/share/plymouth/themes/buildbotics
|
||||||
|
rm -rf /usr/share/plymouth/themes/onefinity
|
||||||
mkdir -p /usr/share/plymouth/themes/onefinity/
|
mkdir -p /usr/share/plymouth/themes/onefinity/
|
||||||
cp -av installer/splash/* /usr/share/plymouth/themes/onefinity/
|
cp -av installer/splash/* /usr/share/plymouth/themes/onefinity/
|
||||||
plymouth-set-default-theme -R onefinity
|
plymouth-set-default-theme -R onefinity
|
||||||
fi
|
|
||||||
grep 'quiet splash plymouth.ignore-serial-consoles logo.nologo' /boot/cmdline.txt >/dev/null
|
grep 'quiet splash plymouth.ignore-serial-consoles logo.nologo' /boot/cmdline.txt >/dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -n " quiet splash plymouth.ignore-serial-consoles logo.nologo" >> /boot/cmdline.txt
|
echo -n " quiet splash plymouth.ignore-serial-consoles logo.nologo" >> /boot/cmdline.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user