aboutsummaryrefslogtreecommitdiff
path: root/tests/checks/deb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checks/deb.sh')
-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