From 00ed0c6f364b2e224c0de07f3274aef2aa64d6aa Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 30 Sep 2021 18:45:17 +0200 Subject: debian/itzks-systems-common.postinst: Only set solar.theme as plymouth theme if we have it. --- debian/itzks-systems-common.postinst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst index aa3784d..2f49073 100755 --- a/debian/itzks-systems-common.postinst +++ b/debian/itzks-systems-common.postinst @@ -98,8 +98,10 @@ case "$1" in if grep -q "Theme=solar" /etc/plymouth/plymouthd.conf; then : else - plymouth-set-default-theme solar - update-initramfs -k all -u + if [ -f /usr/share/plymouth/themes/solar/solar.plymouth ]; then + plymouth-set-default-theme solar + update-initramfs -k all -u + fi fi fi ;; -- cgit v1.2.3