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