diff options
author | Chris Cromer | 2016-05-19 18:11:49 -0400 |
---|---|---|
committer | Chris Cromer | 2016-05-19 18:11:49 -0400 |
commit | 3d5230e92695b2bd93b1bf1cd4fedb43d8d4c259 (patch) | |
tree | a41d36a9102dd88d8a4b162470b97ad779328f1f /plymouth-set-default-theme.in.patch | |
download | aur-3d5230e92695b2bd93b1bf1cd4fedb43d8d4c259.tar.gz |
initial commit
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 |