summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2017-05-19 09:46:26 -0700
committerDonald Webster2017-05-19 09:46:26 -0700
commit54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0 (patch)
tree5d97e44c73953cab1f029ca3a3acc0019e914d20
parent31e06ec0995fb0c16e89ef3bcf3f4e89d0aaa8df (diff)
downloadaur-54083c33f42179742ec5d4ddbdc44ab9f1a9dcd0.tar.gz
Move java warning to install, spew but don't fail.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--unifi-video.install4
3 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6077b1844ba..4d7f193fcae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri May 19 16:43:00 UTC 2017
+# Fri May 19 16:46:03 UTC 2017
pkgbase = unifi-video
pkgdesc = Centralized management system for Ubiquiti UniFi Surveillance Cameras
pkgver = 3.7.0
diff --git a/PKGBUILD b/PKGBUILD
index 34cc159e2f6..d04aa58c66a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,13 +22,6 @@ sha256sums=('cc30544cc7a9e690921c7964acbcb9b2a16b1abc8d0c028855c7c92cbe403066'
'903c8def2668124570986f113fabf7ef03a1c94cde3a42dbf530ad6a19f139e7'
'0636452a8e45a64f0adf108afbb5823921fb013b427eaf644d9bae0d97c27b93')
-check() {
- if ! [[ -x $( which java ) ]]; then
- echo "Could not find java, please use archlinux-java to select a default."
- exit 1
- fi
-}
-
package() {
tar xf "${srcdir}/data.tar.gz" -C "${pkgdir}"/
rm -r "${pkgdir}/etc"
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: