post_install() {
setcap cap_net_bind_service=ep usr/bin/mtg 2>/dev/null
}
post_upgrade() {
post_install "$1"if[["$1"==2* ]] && [["$2"==1* ]];thenecho"Warning: the configuration format for mtg 2.0 has changed - see /etc/mtg/example.toml for details!"fi}