summarylogtreecommitdiffstats
path: root/unifi-video.install
blob: de721604f43c7401f057d275b638ae4b3bcee379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  chown -R unifi-video:unifi-video /usr/lib/unifi-video/
  ln -s $( which mongod) /usr/lib/unifi-video/bin/

  if ! [[ -x $( which java ) ]]; then
    echo "Could not find java, please use archlinux-java to select a default."
  fi
}

post_upgrade() {
  post_install "$1"
}

# vim:set ts=2 sw=2 et: