summarylogtreecommitdiffstats
path: root/znc-git.install
blob: 75a133350765544371ba549cfa54feb86fa0e501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#/bin/sh

# arg 1:  the new package version
post_install() {
  echo '==> Use `sudo -u znc znc --datadir=/var/lib/znc --makeconf` to generate your first config'
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if [[ -d /var/lib/znc/.znc ]]; then
    echo '==> znc home directory has moved to /var/lib/znc'
  fi
}