From 0fc1b1df5b562b514d3bc203a0567ab38b5c510a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 16 Feb 2024 12:41:57 -0500 Subject: [PATCH] Always provide -y to apt-get install Ref: workaround was attempted at https://github.com/neuronets/datalad-action/pull/1/files Origin: trying to use datalad-installer on a pristine'ish Debian AMI on AWS. --- src/datalad_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datalad_installer.py b/src/datalad_installer.py index 1349939..d2c2d57 100755 --- a/src/datalad_installer.py +++ b/src/datalad_installer.py @@ -1545,7 +1545,7 @@ def install_package( if build_dep: cmd.append("build-dep") else: - cmd.append("install") + cmd.extend(["install", "-y"]) if extra_args: cmd.extend(extra_args) if version is not None: