From 64542e28b9c0649762d19d76c46099bf0f7fac43 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 20 Jul 2013 15:20:34 +0200 Subject: [PATCH] [scripts] set the default sabayon theme if it exists --- scripts/inner_chroot_script.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/inner_chroot_script.sh b/scripts/inner_chroot_script.sh index f1b3e92..9fee731 100755 --- a/scripts/inner_chroot_script.sh +++ b/scripts/inner_chroot_script.sh @@ -84,8 +84,13 @@ newaliases # mode if it's not forced to NO. So, disable it completely # sed -i "/^#rc_interactive=/ s/#//" /etc/rc.conf -# Set Plymouth default theme -plymouth-set-default-theme solar +# Set Plymouth default theme, newer artwork has the sabayon theme +is_ply_sabayon=$(plymouth-set-default-theme --list | grep sabayon) +if [ -n "${is_ply_sabayon}" ]; then + plymouth-set-default-theme sabayon +else + plymouth-set-default-theme solar +fi # and make sure that fbcondecor is removed rc-update del fbcondecor boot rc-update del fbcondecor default