Ensure we set the right plymouth theme when building the image

merge-requests/1/head
Matthias Klumpp 8 years ago
parent 7fd20a5f0d
commit c741725f38

@ -3,13 +3,10 @@ set -e
if [ -e /usr/sbin/plymouth-set-default-theme ]
then
if [ -e /usr/share/plymouth/themes/pureos-logo/pureos-logo.plymouth ]
if [ -e /usr/share/plymouth/themes/pureos/pureos.plymouth ]
then
# likely a GUI configuration, we want the nice PureOS splash
plymouth-set-default-theme pureos-logo
else
# likely a server/non-gui setup. We want to be verbose and show details.
plymouth-set-default-theme details
plymouth-set-default-theme pureos
fi
/usr/sbin/update-initramfs -u
fi

Loading…
Cancel
Save