diff options
author | Donald Webster | 2017-05-19 09:46:26 -0700 |
---|---|---|
committer | Donald Webster | 2017-05-19 09:46:26 -0700 |
commit | 54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0 (patch) | |
tree | 5d97e44c73953cab1f029ca3a3acc0019e914d20 /unifi-video.install | |
parent | 31e06ec0995fb0c16e89ef3bcf3f4e89d0aaa8df (diff) | |
download | aur-54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0.tar.gz |
Move java warning to install, spew but don't fail.
Diffstat (limited to 'unifi-video.install')
-rw-r--r-- | unifi-video.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unifi-video.install b/unifi-video.install index df428037fa0e..b21d5f2089f7 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: |