Skip to content

Commit 297cdd7

Browse files
committed
trixie: apt: Install GPG key in /usr/share/keyrings instead of /etc/apt/trusted.gpg.d
Signed-off-by: Félix Piédallu <felix@piedallu.me>
1 parent 4614f15 commit 297cdd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

trixie

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,12 +602,12 @@ Types: deb
602602
URIs: http://repo.yunohost.org/debian/
603603
Suites: trixie
604604
Components: $components
605-
Signed-By: /etc/apt/trusted.gpg.d/yunohost-trixie.gpg
605+
Signed-By: /usr/share/keyrings/yunohost-trixie.gpg
606606
"
607607
echo "$deb_sources" > /etc/apt/sources.list.d/yunohost.sources
608608

609609
# Add YunoHost repository key to the keyring
610-
curl --fail --silent https://repo.yunohost.org/keys/yunohost_trixie.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/yunohost-trixie.gpg
610+
curl --fail --silent https://repo.yunohost.org/keys/yunohost_trixie.asc | gpg -o /usr/share/keyrings/yunohost-trixie.gpg --dearmor
611611
apt_update
612612
}
613613

0 commit comments

Comments
 (0)