summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-07-21 03:17:14 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-07-21 03:17:14 +0300
commit51f726f069a241e5e73e9f07eb0c43ad8278f8eb (patch)
treef04004151e2c6d2c398b4a3cbcda1352ba1b8658 /eclass
parent72eafcc7db6bfc8067047b485f6ab586b7359462 (diff)
[eclass/live-artwork.eclass] reparat cod prost scris cu picioarele in bash
Diffstat (limited to 'eclass')
-rw-r--r--eclass/live-artwork.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/live-artwork.eclass b/eclass/live-artwork.eclass
index 4f7ddbb1..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