diff options
author | 2008-01-22 01:25:42 +0000 | |
---|---|---|
committer | 2008-01-22 01:25:42 +0000 | |
commit | 66704a9a841d861bd97d339237915296cf6f5e3b (patch) | |
tree | 42b4334beae77f424766e7febb8698a6ff627cd1 /hooks | |
parent | 8ed98c406675c8ff01381633c4e41ade4c96360e (diff) | |
download | paludis-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-x | hooks/demos/pretend_resume.bash.in | 1 |
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 |