aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-23 16:29:21 -0300
committerEuAndreh <eu@euandre.org>2023-03-23 16:29:21 -0300
commitfa6537934db8491f20eb3fdd39b38ea78c4c482b (patch)
tree927db4cd34db8b116622c379b8b5833adc491691 /tests
parentMakefile: Add architecture to check target name (diff)
downloadpackage-repository-fa6537934db8491f20eb3fdd39b38ea78c4c482b.tar.gz
package-repository-fa6537934db8491f20eb3fdd39b38ea78c4c482b.tar.xz
Use manual echo to /etc/apt/sources.list over apt-add-repository
Diffstat (limited to 'tests')
-rwxr-xr-xtests/checks/deb.sh5
1 files changed, 3 insertions, 2 deletions
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