summarylogtreecommitdiffstats
path: root/duo_unix.install
blob: 993e80eb149d21f6dcf94d8391c7a8baedb10f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  echo '==> You need to make some configuration changes to use duo_unix'
  echo '==> Instructions can be found here: https://www.duosecurity.com/docs/duounix'
  echo '==> Make sure to use /usr/bin/login_duo rather than /usr/sbin/login_duo'
}

post_upgrade() {
  if [[ $(vercmp $2 1.9-3) -lt 0 ]]; then
    echo '==> login_duo has moved to /usr/bin alongside all binaries'
    echo '==> Please update this path in your scripts or configs if applicable'
  fi
}