From 51f726f069a241e5e73e9f07eb0c43ad8278f8eb Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Tue, 21 Jul 2015 03:17:14 +0300 Subject: [eclass/live-artwork.eclass] reparat cod prost scris cu picioarele in bash --- eclass/live-artwork.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/live-artwork.eclass') 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 -- cgit v1.2.3