Send messages when installing packages via __package_apt

This commit is contained in:
Jonas Weber 2018-09-12 11:36:06 +02:00
parent 19a55ac75a
commit 346f1f8af3

View file

@ -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