aboutsummaryrefslogtreecommitdiffstats
path: root/community/racktables/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/racktables/APKBUILD')
-rw-r--r--community/racktables/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/community/racktables/APKBUILD b/community/racktables/APKBUILD
index 2f9bfb62d7..13f0b53ae0 100644
--- a/community/racktables/APKBUILD
+++ b/community/racktables/APKBUILD
@@ -3,7 +3,7 @@
pkgname=racktables
_realname=RackTables
pkgver=0.20.10
-pkgrel=2
+pkgrel=1
pkgdesc="Server room asset management"
url="http://racktables.org"
arch="noarch"
@@ -44,10 +44,8 @@ package() {
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-docs
mkdir -p "$pkgdir"/etc/racktables
- touch "$pkgdir"/etc/racktables/secret.php
- chown -R :www-data "$pkgdir"/etc/racktables
+ chown :www-data "$pkgdir"/etc/racktables
chmod 770 "$pkgdir"/etc/racktables
- chmod 660 "$pkgdir"/etc/racktables/secret.php
sed -i "s%<?php%<?php\n\n\$racktables_confdir = '/etc/racktables';%" \
"$pkgdir"/usr/share/webapps/RackTables/wwwroot/index.php
}