Skip to content

Commit 3d31156

Browse files
authored
chore: Use explicit key for Debian / Ubuntu repo (#74)
REF: nushell/nushell.github.io#2080 (comment)
1 parent 7f0f277 commit 3d31156

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ jobs:
8888
steps:
8989
- name: Test Install Nushell DEB Package
9090
run: |
91-
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
92-
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
91+
wget -qO- https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg
92+
echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
9393
sudo apt update
9494
sudo apt install nushell
9595
nu -c 'version'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Package and release the official Nushell binaries in `deb`, `rpm`, and `apk` etc
1010
## Install Nushell for Ubuntu/Debian
1111

1212
```nu
13-
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
14-
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
13+
wget -qO- https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg
14+
echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
1515
sudo apt update
1616
sudo apt install nushell
1717
which nu

cspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ words:
4949
- justfile
5050
- lefthook
5151
- linewise
52+
- keyrings
5253
- deepseek
5354
- lspconfig
5455
- Cyberboss

0 commit comments

Comments
 (0)