Unverified Commit 1e5283d9 authored by Robin H. Johnson's avatar Robin H. Johnson
Browse files

Try to catch removing state state weirdness.


Signed-off-by: default avatarRobin H. Johnson <robbat2@gentoo.org>
parent 830c8cfc
...@@ -280,6 +280,7 @@ define portage::package ( ...@@ -280,6 +280,7 @@ define portage::package (
$rebuild_command = $removing ? { $rebuild_command = $removing ? {
true => '/bin/true', true => '/bin/true',
false => "${portage::emerge_command} --changed-use -u1 ${atom}" false => "${portage::emerge_command} --changed-use -u1 ${atom}"
default => '/bin/false Should-Not-Trigger', # This should not happen.
} }
exec { "rebuild_${atom}": exec { "rebuild_${atom}":
command => $rebuild_command, command => $rebuild_command,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment