mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Explicitly name the gpg key according to the deb version
This commit is contained in:
parent
6a7d6cdf39
commit
ddf5cf1035
1 changed files with 2 additions and 2 deletions
4
bookworm
4
bookworm
|
@ -484,7 +484,7 @@ function setup_package_source() {
|
|||
|
||||
# Debian repository
|
||||
|
||||
local CUSTOMDEB="deb [signed-by=/usr/share/keyrings/yunohost-archive-keyring.gpg] http://forge.yunohost.org/debian/ bookworm stable"
|
||||
local CUSTOMDEB="deb [signed-by=/usr/share/keyrings/yunohost-booworm.gpg] http://forge.yunohost.org/debian/ bookworm stable"
|
||||
|
||||
if [[ "$DISTRIB" == "stable" ]] ; then
|
||||
echo "$CUSTOMDEB" > $CUSTOMAPT
|
||||
|
@ -495,7 +495,7 @@ function setup_package_source() {
|
|||
fi
|
||||
|
||||
# Add YunoHost repository key to the keyring
|
||||
curl --fail --silent https://forge.yunohost.org/yunohost_bookworm.asc | gpg --dearmor > /usr/share/keyrings/yunohost-archive-keyring.gpg
|
||||
curl --fail --silent https://forge.yunohost.org/yunohost_bookworm.asc | gpg --dearmor > /usr/share/keyrings/yunohost-bookworm.gpg
|
||||
apt_update
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue