net-snmp/debian/snmpd.config

22 lines
301 B
Bash

#! /bin/sh
set -e
action="$1"
version="$2"
. /usr/share/debconf/confmodule
if [ -n "$version" ]
then
# Source debconf library.
db_version 2.0
if [ -n "$version" ] && dpkg --compare-versions "$version" lt 5.2.2
then
db_text critical snmpd/upgradefrom521 || true
fi
db_go
fi
exit 0