mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
fix buster
This commit is contained in:
parent
9a8b81d125
commit
06e7cdc69e
1 changed files with 7 additions and 1 deletions
8
utils.sh
8
utils.sh
|
@ -73,8 +73,14 @@ rebuild_base_containers()
|
||||||
|
|
||||||
wait_container "$base_image_to_rebuild-tmp"
|
wait_container "$base_image_to_rebuild-tmp"
|
||||||
|
|
||||||
|
if [[ "$debian_version" == "buster" ]]
|
||||||
|
then
|
||||||
|
INSTALL_SCRIPT="https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost"
|
||||||
|
else
|
||||||
|
INSTALL_SCRIPT="https://install.yunohost.org"
|
||||||
|
fi
|
||||||
# Install yunohost
|
# Install yunohost
|
||||||
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "curl https://install.yunohost.org | bash -s -- -a -d $ynh_version"
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "curl $INSTALL_SCRIPT | bash -s -- -a -d $ynh_version"
|
||||||
lxc stop "$base_image_to_rebuild-tmp"
|
lxc stop "$base_image_to_rebuild-tmp"
|
||||||
|
|
||||||
# Create image before postinstall
|
# Create image before postinstall
|
||||||
|
|
Loading…
Reference in a new issue