forked from ungleich-public/cdist
Send messages when installing packages via __package_apt
This commit is contained in:
parent
19a55ac75a
commit
346f1f8af3
1 changed files with 2 additions and 0 deletions
|
@ -78,9 +78,11 @@ case "$state_should" in
|
|||
name="${name}=${version}"
|
||||
fi
|
||||
echo $aptget install $target_release \"$name\"
|
||||
echo "installed" >> "$__messages_out"
|
||||
;;
|
||||
absent)
|
||||
echo $aptget remove $purgeparam \"$name\"
|
||||
echo "removed" >> "$__messages_out"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown state: $state_should" >&2
|
||||
|
|
Loading…
Reference in a new issue