This commit is contained in:
parent
c96f83850a
commit
682f8600b5
@ -47,7 +47,7 @@
|
|||||||
+
|
+
|
||||||
+PLUGIN_PATH=$(plymouth --get-splash-plugin-path)
|
+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
|
+if [ ! -f "$PLUGIN_PATH/${MODULE}.so" ]; then
|
||||||
+ echo "The default plymouth plugin ($MODULE) doesn't exist." > /dev/stderr
|
+ echo "The default plymouth plugin ($MODULE) doesn't exist." > /dev/stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user