Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
install: add signed-by to deb repo (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonifaido authored Dec 15, 2023
1 parent f9ce9c2 commit 7100fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ add_nasp_repo_and_key() {
if [ -x "$(command -v apt)" ]; then
# Debian/Ubuntu
sudo apt install -y wget gnupg linux-headers-$(uname -r) dkms
sudo sh -c "echo 'deb $NASP_REPO_URL/packages/deb stable main' > /etc/apt/sources.list.d/nasp.list"
sudo sh -c "echo 'deb [signed-by=/etc/apt/trusted.gpg.d/nasp.gpg] $NASP_REPO_URL/packages/deb stable main' > /etc/apt/sources.list.d/nasp.list"
sudo wget -O /tmp/nasp.asc "$NASP_REPO_URL/packages/nasp.asc"
cat /tmp/nasp.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/nasp.gpg >/dev/null
sudo apt update
Expand Down

0 comments on commit 7100fa5

Please sign in to comment.