force add-apt-repository to act in non-interactive mode

This commit is contained in:
romain-dartigues 2021-12-24 15:39:29 +01:00
parent c2c5668b70
commit 9ef0b9bfd3

View file

@ -29,7 +29,7 @@ fi
case "$state_should" in
present)
echo "add-apt-repository '$name'"
echo "add-apt-repository -y '$name'"
;;
absent)
echo "remove-apt-repository '$name'"