summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-09-30 18:45:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-09-30 18:45:17 +0200
commit00ed0c6f364b2e224c0de07f3274aef2aa64d6aa (patch)
treedbae73c4ecaebd6dfdbbf172052c3099028dbcf7
parentdf073069ee4b476ca54d857a968547129400284d (diff)
downloaditzks-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-xdebian/itzks-systems-common.postinst6
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
;;