diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-07-24 17:12:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-07-24 17:12:35 +0100 |
commit | 70b1855e16ed079d320176747f40e98693623952 (patch) | |
tree | 6661d84aeb2127a71fa2001856a941ca1425af24 /eclass/live-artwork.eclass | |
parent | df385d64c8534771af36e9a464fb1763f5f37078 (diff) | |
parent | 5c8180e20f801d69d51cca9c09c773f120e7bb64 (diff) |
Merge upstream
Diffstat (limited to 'eclass/live-artwork.eclass')
-rw-r--r-- | eclass/live-artwork.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/live-artwork.eclass b/eclass/live-artwork.eclass index bfe99b3b..e235550c 100644 --- a/eclass/live-artwork.eclass +++ b/eclass/live-artwork.eclass @@ -18,10 +18,10 @@ GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-live}" # @ECLASS-VARIABLE: PLYMOUTH_THEME # @DESCRIPTION: # Default plymouth theme name to use -if [ $(cat /etc/hostname) == "kogaion" ] ; then - PLYMOUTH_THEME="${PLYMOUTH_THEME:-kogaion}" -elif [ $(cat /etc/hostname) == "argent" ] ; then - PLYMOUTH_THEME="${PLYMOUTH_THEME:-argent}" +if [ -d "/etc/kogaion" ] ; then + PLYMOUTH_THEME="${PLYMOUTH_THEME:-kogaion}" +elif [ -d "/etc/argent" ] ; then + PLYMOUTH_THEME="${PLYMOUTH_THEME:-argent}" fi # @FUNCTION: update_kernel_initramfs_splash |