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 22039284f5
commit cb0fa0f2e4
1 changed files with 1 additions and 1 deletions

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'"