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

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