From 26bd3415ea4ad409ab874d8b29d04f63e38f12a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 19 Oct 2024 10:42:09 +0200 Subject: [PATCH] Use the new repo.yunohost.org debian repository --- bookworm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/bookworm b/bookworm index 02a2029..720041b 100755 --- a/bookworm +++ b/bookworm @@ -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... @@ -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 @@ -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 }