diff options
author | gS644 | 2015-06-09 00:28:39 +0200 |
---|---|---|
committer | gS644 | 2015-06-09 00:28:39 +0200 |
commit | 361316c26bb911f56a33870fc796095a46a5eff9 (patch) | |
tree | 70e409ebfc6b93170deb2fd3f1012643370045c6 /plymouth-set-default-theme.in.patch | |
download | aur-361316c26bb911f56a33870fc796095a46a5eff9.tar.gz |
Initial import
Diffstat (limited to 'plymouth-set-default-theme.in.patch')
-rw-r--r-- | plymouth-set-default-theme.in.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plymouth-set-default-theme.in.patch b/plymouth-set-default-theme.in.patch new file mode 100644 index 000000000000..808a64474d74 --- /dev/null +++ b/plymouth-set-default-theme.in.patch @@ -0,0 +1,15 @@ +diff -aur plymouth-0.8.8.src/scripts/plymouth-set-default-theme.in plymouth-0.8.8.patch/scripts/plymouth-set-default-theme.in +--- plymouth-0.8.8.src/scripts/plymouth-set-default-theme.in 2012-10-27 02:01:45.000000000 +1100 ++++ plymouth-0.8.8.patch/scripts/plymouth-set-default-theme.in 2014-01-26 09:55:34.337189615 +1100 +@@ -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 |