debcheck: prometheus does not exist in i386
authorChristoph Berg <myon@debian.org>
Fri, 26 Feb 2021 15:37:53 +0000 (16:37 +0100)
committerChristoph Berg <myon@debian.org>
Fri, 26 Feb 2021 15:37:53 +0000 (16:37 +0100)
jenkins/debcheck-pgapt

index 03a720f66454e5b2a513d4386032cb679686768e..3cf1f49e6dba7436ed77608a65976018302c7325 100755 (executable)
@@ -101,13 +101,9 @@ if [ "${PG_DEVEL_VERSION:-}" ]; then
   MAINPKG=$(echo "$MAINPKG" | fgrep -v "$PG_DEVEL_VERSION")
 fi
 
-# grafana doesn't exist on i386
+# grafana and prometheus don't exist on i386 (-node-exporter exists in some dists, but not prometheus itself)
 if [ "$architecture" = "i386" ]; then
-  MAINPKG=$(echo "$MAINPKG" | egrep -v "^elephant-shed(-grafana)?$")
-  # prometheus-node-exporter (>= 0.16) doesn't exist on bionic/i386
-  if [ "$distribution" = "bionic" ]; then
-    MAINPKG=$(echo "$MAINPKG" | egrep -v "elephant-shed-prometheus")
-  fi
+  MAINPKG=$(echo "$MAINPKG" | egrep -v "^elephant-shed(-grafana|-prometheus)?$")
 fi
 
 # bpo