diff options
author | Donald Webster | 2017-02-18 17:17:53 -0800 |
---|---|---|
committer | Donald Webster | 2017-02-18 18:36:16 -0800 |
commit | b3fe1cf507a9c7063703e642034f05342ae0aa15 (patch) | |
tree | 35c6751bb649cc657be9b6a40e159f22f411931d | |
parent | 93616623a0233dd809276faf89fb8b68969f5897 (diff) | |
download | aur-b3fe1cf507a9c7063703e642034f05342ae0aa15.tar.gz |
A little tweaking...
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | unifi-video.install | 4 |
3 files changed, 4 insertions, 6 deletions
@@ -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 @@ -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 f77e77276f72..df428037fa0e 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: |