From 682f8600b5583b7ece4eab4ffdd60c121fda344ac35952146340e2d5122dbcc4 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Fri, 27 Apr 2012 20:19:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=30 --- suse-initrd-support | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suse-initrd-support b/suse-initrd-support index 6d0ed8f..bb93b6e 100644 --- a/suse-initrd-support +++ b/suse-initrd-support @@ -47,7 +47,7 @@ + +PLUGIN_PATH=$(plymouth --get-splash-plugin-path) + -+MODULE=$(grep "ModuleName *= *" /usr/share/plymouth/themes/${THEME}/${THEME}.plymouth | sed 's/ModuleName *= *//') ++MODULE=$(grep "ModuleName *= *" @PLYMOUTH_DATADIR@/plymouth/themes/${THEME}/${THEME}.plymouth | sed 's/ModuleName *= *//') + +if [ ! -f "$PLUGIN_PATH/${MODULE}.so" ]; then + echo "The default plymouth plugin ($MODULE) doesn't exist." > /dev/stderr