aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-06-06 14:28:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-06-06 14:28:10 -0300
commitcaa28279addabee532cc75bae41a25add2a00f9d (patch)
tree9b1983f604544eaee624e59fc67a8feecdfe816e
parent7e0a09f180759ea5568576e636b873da9b82acd5 (diff)
downloadmetadot-master.tar.gz
metadot-master.tar.bz2
Fix: avoid dependency installation errors when there are missing package candidates (1)HEADmaster
-rwxr-xr-xmetadot3
1 files changed, 2 insertions, 1 deletions
diff --git a/metadot b/metadot
index 85cc000..9bcb9bb 100755
--- a/metadot
+++ b/metadot
@@ -128,7 +128,8 @@ function metadot_deps {
# 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
+ # This is more fault-tolerant
+ for dep in $deps_to_install; do
LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $dep
done
fi