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 f061fb168d
commit bbb5dfe395
1 changed files with 1 additions and 1 deletions

View File

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