There was an error while loading. Please reload this page.
2 parents 02cb80d + 0d6dc3d commit 5ce20f2Copy full SHA for 5ce20f2
1 file changed
install.sh
@@ -634,7 +634,11 @@ do_install() {
634
if ! is_dry_run; then
635
set -x
636
fi
637
- $sh_c "DEBIAN_FRONTEND=noninteractive apt-get -y -qq install $pkgs >/dev/null"
+ apt_flags="-y -qq"
638
+ if [ -n "$pkg_version" ]; then
639
+ apt_flags="$apt_flags --allow-downgrades"
640
+ fi
641
+ $sh_c "DEBIAN_FRONTEND=noninteractive apt-get $apt_flags install $pkgs >/dev/null"
642
)
643
if [ "$NO_AUTOSTART" != "1" ]; then
644
start_docker_daemon
0 commit comments