diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-09-30 18:45:17 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-09-30 18:45:17 +0200 |
commit | 00ed0c6f364b2e224c0de07f3274aef2aa64d6aa (patch) | |
tree | dbae73c4ecaebd6dfdbbf172052c3099028dbcf7 | |
parent | df073069ee4b476ca54d857a968547129400284d (diff) | |
download | itzks-systems-00ed0c6f364b2e224c0de07f3274aef2aa64d6aa.tar.gz itzks-systems-00ed0c6f364b2e224c0de07f3274aef2aa64d6aa.tar.bz2 itzks-systems-00ed0c6f364b2e224c0de07f3274aef2aa64d6aa.zip |
debian/itzks-systems-common.postinst: Only set solar.theme as plymouth theme if we have it.
-rwxr-xr-x | debian/itzks-systems-common.postinst | 6 |
1 files 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 ;; |