aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-03-05 16:19:21 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-03-05 16:19:21 +0000
commit28cee80678bb3b69e0712d016b8413b5b3cbebb1 (patch)
treeb3e8cfbf4b068f4bfc8660ca34561c50773c5eda /hooks
parent71c6ae679fd013a4a3fdf53f4c68ede3b96d701a (diff)
downloadpaludis-28cee80678bb3b69e0712d016b8413b5b3cbebb1.tar.gz
paludis-28cee80678bb3b69e0712d016b8413b5b3cbebb1.tar.xz
Fix pretend_resume demo hook.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/demos/pretend_resume.bash.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/demos/pretend_resume.bash.in b/hooks/demos/pretend_resume.bash.in
index 84c77a91b..7c99adf2e 100755
--- a/hooks/demos/pretend_resume.bash.in
+++ b/hooks/demos/pretend_resume.bash.in
@@ -11,7 +11,7 @@
#
# You should ensure that it has execute permissions.
-[[ ${RESUME_COMMAND} = *" '="* ]] || exit 0
+[[ -n ${RESUME_COMMAND} ]] || exit 0
${DEPLIST_HAS_ERRORS} && exit 0
echo