fix buster

This commit is contained in:
Kay0u 2020-03-26 19:49:15 +01:00
parent 9a8b81d125
commit 06e7cdc69e
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -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