aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmetadot8
1 files changed, 7 insertions, 1 deletions
diff --git a/metadot b/metadot
index de18148..85cc000 100755
--- a/metadot
+++ b/metadot
@@ -124,7 +124,13 @@ function metadot_deps {
done
if [ ! -z "$deps_to_install" ]; then
- LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $deps_to_install
+ # This generates less output, but might fail entirely if at least one
+ # package has no candidates for installation.
+ #LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $deps_to_install
+
+ for $dep in $deps_to_install; do
+ LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $dep
+ done
fi
fi