summaryrefslogtreecommitdiffstats
path: root/abs/core/plymouth/plymouth-set-default-theme.in.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-12-04 18:04:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-12-04 18:04:47 (GMT)
commit64a523b563e3cd7bb2a640c23267f2cf91d3bacc (patch)
tree437ed9a2d61f559260d72246a2127e50fb8c164b /abs/core/plymouth/plymouth-set-default-theme.in.patch
parentd5370e5d6fe083e14866c5b5d1728fea4f9879bc (diff)
downloadlinhes_pkgbuild-64a523b563e3cd7bb2a640c23267f2cf91d3bacc.zip
linhes_pkgbuild-64a523b563e3cd7bb2a640c23267f2cf91d3bacc.tar.gz
linhes_pkgbuild-64a523b563e3cd7bb2a640c23267f2cf91d3bacc.tar.bz2
plymouth, plymouth-theme-linhes: update and kill some bugs
LinHES-config: change splash detection
Diffstat (limited to 'abs/core/plymouth/plymouth-set-default-theme.in.patch')
-rw-r--r--abs/core/plymouth/plymouth-set-default-theme.in.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/plymouth/plymouth-set-default-theme.in.patch b/abs/core/plymouth/plymouth-set-default-theme.in.patch
new file mode 100644
index 0000000..21f975d
--- /dev/null
+++ b/abs/core/plymouth/plymouth-set-default-theme.in.patch
@@ -0,0 +1,14 @@
+--- scripts/plymouth-set-default-theme.ina 2012-07-15 12:16:53.083156390 +0300
++++ scripts/plymouth-set-default-theme.in 2012-07-15 12:17:32.715893173 +0300
+@@ -173,7 +173,10 @@
+ exit $?
+ fi
+
+-if [ ! -e ${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth ]; then
++if [ -z ${THEME_NAME} ]; then
++ echo "Please specify a theme name"
++ exit 1
++elif [ ! -e ${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth ]; then
+ echo "${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth does not exist" > /dev/stderr
+ exit 1
+ fi