aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:25:42 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:25:42 +0000
commit66704a9a841d861bd97d339237915296cf6f5e3b (patch)
tree42b4334beae77f424766e7febb8698a6ff627cd1 /hooks
parent8ed98c406675c8ff01381633c4e41ade4c96360e (diff)
downloadpaludis-66704a9a841d861bd97d339237915296cf6f5e3b.tar.gz
paludis-66704a9a841d861bd97d339237915296cf6f5e3b.tar.xz
Don't show the resume command if there were masks/blockers/etc.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/demos/pretend_resume.bash.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/demos/pretend_resume.bash.in b/hooks/demos/pretend_resume.bash.in
index 7c2003b17..84c77a91b 100755
--- a/hooks/demos/pretend_resume.bash.in
+++ b/hooks/demos/pretend_resume.bash.in
@@ -12,6 +12,7 @@
# You should ensure that it has execute permissions.
[[ ${RESUME_COMMAND} = *" '="* ]] || exit 0
+${DEPLIST_HAS_ERRORS} && exit 0
echo
template_var=$(tr '[[:lower:]]' '[[:upper:]]' <<<"${PALUDIS_CLIENT}")_CMDLINE_resume_command_template