summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2017-02-18 17:17:53 -0800
committerDonald Webster2017-02-18 18:36:16 -0800
commitb3fe1cf507a9c7063703e642034f05342ae0aa15 (patch)
tree35c6751bb649cc657be9b6a40e159f22f411931d
parent93616623a0233dd809276faf89fb8b68969f5897 (diff)
downloadaur-b3fe1cf507a9c7063703e642034f05342ae0aa15.tar.gz
A little tweaking...
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--unifi-video.install4
3 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f5c0383363..fdb125f8621 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sun Feb 19 00:04:45 UTC 2017
+# Sun Feb 19 01:55:35 UTC 2017
pkgbase = unifi-video
pkgdesc = Centralized management system for Ubiquiti UniFi Surveillance Cameras
pkgver = 3.6.1
diff --git a/PKGBUILD b/PKGBUILD
index 639af349845..debf0f11915 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,8 +37,8 @@ package() {
msg2 "Moving /usr/sbin -> /usr/bin..."
mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
- msg2 "Making unifi-video executable..."
- chmod +x "${pkgdir}/usr/bin/unifi-video"
+ msg2 "Making files executable..."
+ chmod +x ${pkgdir}/usr/bin/unifi-video ${pkgdir}/usr/lib/unifi-video/bin/ubnt.* ${pkgdir}/usr/lib/unifi-video/bin/evo*
msg2 "Patching out ulimit..."
cd "${pkgdir}/usr/bin"
diff --git a/unifi-video.install b/unifi-video.install
index f77e77276f7..df428037fa0 100644
--- a/unifi-video.install
+++ b/unifi-video.install
@@ -1,9 +1,7 @@
-# arg 1: the new package version
post_install() {
systemd-sysusers unifi-video.conf
- chown -R unifi-video:unifi-video /usr/lib/unifi-video/work /usr/lib/unifi-video/logs /usr/lib/unifi-video/conf /usr/lib/unifi-video/webapps
+ chown -R unifi-video:unifi-video /usr/lib/unifi-video/
ln -s $( which mongod) /usr/lib/unifi-video/bin/
- :
}
# vim:set ts=2 sw=2 et: