diff options
author | EuAndreh <eu@euandre.org> | 2023-03-23 16:29:21 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-23 16:29:21 -0300 |
commit | fa6537934db8491f20eb3fdd39b38ea78c4c482b (patch) | |
tree | 927db4cd34db8b116622c379b8b5833adc491691 /tests | |
parent | Makefile: Add architecture to check target name (diff) | |
download | package-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-x | tests/checks/deb.sh | 5 |
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 |