install-deps: Always pass -y when installing

The prompts don't currently work when we shell out to
flatpak, so this is broken without -y.
auto
Alexander Larsson 2018-06-21 09:57:57 +02:00 committed by Alexander Larsson
parent a415eed100
commit 6d9f874c12
1 changed files with 1 additions and 2 deletions

View File

@ -3585,8 +3585,7 @@ builder_manifest_install_dep (BuilderManifest *self,
g_ptr_array_add (args, g_strdup (remote));
}
if (opt_yes)
g_ptr_array_add (args, "-y");
g_ptr_array_add (args, g_strdup ("-y"));
g_ptr_array_add (args, g_strdup (ref));
g_ptr_array_add (args, NULL);