Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions bookworm
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ function apt_install() {

function check_assertions()
{
if [[ $DISTRIB == "stable" ]]
then
error "Only unstable and testing branches are supported for Bookworm right now. We ABSOLUTELY DISCOURAGE using YunoHost Bookworm in any sort of production setup right now UNLESS YOU ARE A POWER-USER. Everything is in BETA STAGE ONLY."
return 1
fi

# Assert we're on Debian
# Note : we do not rely on lsb_release to avoid installing a dependency
# only to check this...
Expand Down Expand Up @@ -525,7 +519,7 @@ function setup_package_source() {

# Debian repository

local CUSTOMDEB="deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable"
local CUSTOMDEB="deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://repo.yunohost.org/debian/ bookworm stable"

if [[ "$DISTRIB" == "stable" ]] ; then
echo "$CUSTOMDEB" > $CUSTOMAPT
Expand All @@ -536,7 +530,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-bookworm.gpg
curl --fail --silent https://repo.yunohost.org/keys/yunohost_bookworm.asc | gpg --dearmor > /usr/share/keyrings/yunohost-bookworm.gpg
apt_update
}

Expand Down