]> gitweb.fluxo.info Git - metadot.git/commitdiff
Fix: avoid dependency installation errors when there are missing package candidates (1) master
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Jun 2025 17:28:10 +0000 (14:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Jun 2025 17:28:10 +0000 (14:28 -0300)
metadot

diff --git a/metadot b/metadot
index 85cc000de06d7e84728197d2cd763c32e29da593..9bcb9bbe9d5f895246854a77fe092fbadf8d6232 100755 (executable)
--- 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
 
         # 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
           LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $dep
         done
       fi