It only tells us the state at the time of install, which isn't helpful
if you subsequently upgrade it.
-munin-plugins-local (0.10~test.4) UNRELEASED; urgency=medium
+munin-plugins-local (0.10~test.5) UNRELEASED; urgency=medium
* Add lvmcache_ plugin, for graphing lvm cache state
* Add prerm and postinst to handle duplication of unbound_munin_ (also
set -e
if [ "$1" = configure ]; then
- DEBIAN_VERSION=$(sed -e 's/\..*//' /etc/debian_version)
- if [ $DEBIAN_VERSION -gt 8 ]; then
+# DEBIAN_VERSION=$(sed -e 's/\..*//' /etc/debian_version)
+# if [ $DEBIAN_VERSION -gt 8 ]; then
# for stretch and above unbound includes the unbound_munin plugin itself
dpkg-divert --add --package munin-plugins-local --rename --divert /usr/share/munin/plugins/unbound_munin_.distrib /usr/share/munin/plugins/unbound_munin_
- fi
+# fi
fi
#DEBHELPER#
set -e
if [ "$1" = remove ]; then
- DEBIAN_VERSION=$(sed -e 's/\..*//' /etc/debian_version)
- if [ $DEBIAN_VERSION -gt 8 ]; then
+# DEBIAN_VERSION=$(sed -e 's/\..*//' /etc/debian_version)
+# if [ $DEBIAN_VERSION -gt 8 ]; then
# for stretch and above unbound includes the unbound_munin plugin itself
dpkg-divert --remove --package munin-plugins-local --rename --divert /usr/share/munin/plugins/unbound_munin_.distrib /usr/share/munin/plugins/unbound_munin_
- fi
+# fi
fi
#DEBHELPER#