You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
414 B

#/bin/bash
# arg 1: the new package version
post_install() {
echo '==> Use 'znc --makeconf' as user znc to generate your first config'
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
if (( "$(vercmp $2 1.0-4)" < 0 )); then
usermod -d /var/lib/znc znc 2>/dev/null && echo '==> znc home directory has moved to /var/lib/znc'
fi
:
}
# vim:set ts=2 sw=2 ft=sh et: