summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ruhier2016-10-30 02:44:28 +0100
committerAnthony Ruhier2016-10-30 02:44:28 +0100
commit3aa04e1fe7f6f007ee3222a6899628671d50ad57 (patch)
treedc717249ca3d1206ca207a1a7010dc5eed7b1e8f
parentdf490b2dcb341c291b1247bda5e836e92a572725 (diff)
downloadaur-3aa04e1fe7f6f007ee3222a6899628671d50ad57.tar.gz
Fix bad source dir for config
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9bab82db31..44e1ddd5acb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = netbox
pkgdesc = IP address management (IPAM) and data center infrastructure management (DCIM) tool.
pkgver = 1.6.3
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/digitalocean/netbox
install = netbox.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index c81f8d35791..414cd965971 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name=netbox
pkgname=${_name}
pkgver=1.6.3
-pkgrel=5
+pkgrel=6
pkgdesc="IP address management (IPAM) and data center infrastructure management (DCIM) tool."
arch=('any')
url="https://github.com/digitalocean/${_name}"
@@ -54,7 +54,7 @@ package() {
mkdir -p "$pkgdir/etc/netbox"
install -D -m644 gunicorn_config.py "$pkgdir/etc/netbox/gunicorn_config.py"
- install -D -m644 ${_name}-${pkgver}/configuration.example.py "$pkgdir/etc/netbox/configuration.py"
+ install -D -m644 ${_name}-${pkgver}/${_name}/${_name}/configuration.example.py "$pkgdir/etc/netbox/configuration.py"
ln -s /etc/netbox/configuration.py /opt/netbox/netbox/configuration.py
find "$pkgdir" -type d -name '.git' -exec rm -r '{}' +