summarylogtreecommitdiffstats
path: root/unifi-video.install
diff options
context:
space:
mode:
authorDonald Webster2017-05-19 09:46:26 -0700
committerDonald Webster2017-05-19 09:46:26 -0700
commit54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0 (patch)
tree5d97e44c73953cab1f029ca3a3acc0019e914d20 /unifi-video.install
parent31e06ec0995fb0c16e89ef3bcf3f4e89d0aaa8df (diff)
downloadaur-54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0.tar.gz
Move java warning to install, spew but don't fail.
Diffstat (limited to 'unifi-video.install')
-rw-r--r--unifi-video.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/unifi-video.install b/unifi-video.install
index df428037fa0..b21d5f2089f 100644
--- a/unifi-video.install
+++ b/unifi-video.install
@@ -2,6 +2,10 @@ post_install() {
systemd-sysusers unifi-video.conf
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
}
# vim:set ts=2 sw=2 et: