mirror of
https://github.com/YunoHost/yunohost-debootstrap.git
synced 2024-09-03 20:06:21 +02:00
[enh] Adapt for bullseye
This commit is contained in:
parent
ca0e07db7d
commit
79be2d7798
1 changed files with 5 additions and 5 deletions
10
yunohost
10
yunohost
|
@ -1,8 +1,8 @@
|
|||
SUITE="buster"
|
||||
SUITE="bullseye"
|
||||
|
||||
ls -l /usr/share/debootstrap/scripts/buster
|
||||
ls -l /usr/share/debootstrap/scripts/bullseye
|
||||
|
||||
. /usr/share/debootstrap/scripts/buster
|
||||
. /usr/share/debootstrap/scripts/bullseye
|
||||
|
||||
save_function() {
|
||||
local ORIG_FUNC=$(declare -f $1)
|
||||
|
@ -13,10 +13,10 @@ save_function() {
|
|||
save_function second_stage_install origin_second_stage_install
|
||||
|
||||
second_stage_install() {
|
||||
SUITE="buster"
|
||||
SUITE="bullseye"
|
||||
origin_second_stage_install $@
|
||||
|
||||
echo "deb http://ftp.fr.debian.org/debian buster main" > $TARGET/etc/apt/sources.list.d/debian.list
|
||||
echo "deb http://ftp.fr.debian.org/debian bullseye main" > $TARGET/etc/apt/sources.list.d/debian.list
|
||||
in_target apt update
|
||||
in_target apt install -y wget debhelper
|
||||
in_target wget -O /root/install_yunohost https://install.yunohost.org
|
||||
|
|
Loading…
Add table
Reference in a new issue