From 9d249a1a52a7461a55ef736a521b312509ade617 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 20 Jan 2022 17:50:00 +0100 Subject: [PATCH] remove bullseye hack --- image_builder | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/image_builder b/image_builder index 56c74f3..21f19df 100755 --- a/image_builder +++ b/image_builder @@ -80,12 +80,8 @@ function rebuild_base_lxc() IN_LXC="lxc exec $img_name --" - if [[ "$DIST" != "bullseye" ]] - then - local INSTALL_SCRIPT="https://install.yunohost.org/$DIST" - else - local INSTALL_SCRIPT="https://install.yunohost.org/${DIST}_do_not_install_it_in_prod" - fi + local INSTALL_SCRIPT="https://install.yunohost.org/$DIST" + $IN_LXC apt install curl -y $IN_LXC /bin/bash -c "curl $INSTALL_SCRIPT | bash -s -- -a -d $YNH_BRANCH"