From fa6537934db8491f20eb3fdd39b38ea78c4c482b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 23 Mar 2023 16:29:21 -0300 Subject: Use manual echo to /etc/apt/sources.list over apt-add-repository --- tests/checks/deb.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/checks/deb.sh b/tests/checks/deb.sh index 90ed7f9..9a0ba7d 100755 --- a/tests/checks/deb.sh +++ b/tests/checks/deb.sh @@ -16,8 +16,9 @@ if apt info remembering; then exit 1 fi -wget -qO- "$REPO"/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/"$KEY" -sudo apt-add-repository "deb $REPO ./" +wget -qO- "$REPO"/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/"$KEY" +echo "deb $REPO ./" | sudo tee -a /etc/apt/sources.list +sudo apt update sudo apt install remembering remembering --help -- cgit v1.2.3