summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 20:51:38 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 20:51:38 +0100
commit49db7d687b515b2edbe7a27d4b6c7cbe55957f42 (patch)
treebc7e6609bd409dd34bcd6348c1db7a2d7bbf3674
parent276a00d74bf5cdf599f6023b1a20bced7076e90a (diff)
downloaditzks-install-script-49db7d687b515b2edbe7a27d4b6c7cbe55957f42.tar.gz
itzks-install-script-49db7d687b515b2edbe7a27d4b6c7cbe55957f42.tar.bz2
itzks-install-script-49db7d687b515b2edbe7a27d4b6c7cbe55957f42.zip
Plymouth: Only set solar theme, if not yet set.
-rw-r--r--install-itzks-workstation6
1 files changed, 4 insertions, 2 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index a60929a..3faee85 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -206,8 +206,10 @@ EOT
# Configure Plymouth
apt_install_if_not -y plymouth-themes
-plymouth-set-default-theme solar
-update-initramfs -k all -u
+if ! grep -q Theme=solar /etc/plymouth/plymouthd.conf; then
+ plymouth-set-default-theme solar
+ update-initramfs -k all -u
+fi
####################