diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-22 05:27:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-22 05:27:40 (GMT) |
commit | 30c6b3e359d4e8872a0ce6635593f362218c2511 (patch) | |
tree | c8517d4961b86e61021ae4dd1acec19ee21bf2af /abs/core/plymouth/plymouth-set-default-theme.in.patch | |
parent | 3d7f516c0b10ed95e270575ef6155d70c0c16114 (diff) | |
download | linhes_pkgbuild-30c6b3e359d4e8872a0ce6635593f362218c2511.zip linhes_pkgbuild-30c6b3e359d4e8872a0ce6635593f362218c2511.tar.gz linhes_pkgbuild-30c6b3e359d4e8872a0ce6635593f362218c2511.tar.bz2 |
plymouth: first build
refs #869
Diffstat (limited to 'abs/core/plymouth/plymouth-set-default-theme.in.patch')
-rw-r--r-- | abs/core/plymouth/plymouth-set-default-theme.in.patch | 14 |
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 |