aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-19 08:29:07 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-19 08:29:07 +0000
commita3691a529582d1145917fb898fe8817bb49727f6 (patch)
treefd49fca08d97718f72afb4460773e7d98d6b12e6 /testing
parent021a430716fd878cfa486225f5fcbb996cb1a927 (diff)
downloadaports-a3691a529582d1145917fb898fe8817bb49727f6.tar.bz2
aports-a3691a529582d1145917fb898fe8817bb49727f6.tar.xz
testing/racktables: fix default config dir
Diffstat (limited to 'testing')
-rw-r--r--testing/racktables/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/racktables/APKBUILD b/testing/racktables/APKBUILD
index d80ae8187..677e0de11 100644
--- a/testing/racktables/APKBUILD
+++ b/testing/racktables/APKBUILD
@@ -3,7 +3,7 @@
pkgname=racktables
_realname=RackTables
pkgver=0.20.6
-pkgrel=0
+pkgrel=1
pkgdesc="Server room asset management"
url="http://racktables.org"
arch="noarch"
@@ -37,7 +37,7 @@ package() {
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-docs
mkdir -p "$pkgdir"/etc/racktables
- sed -i 's%<?php%<?php\n$racktables_confdir='/etc/racktables';%' \
+ sed -i "s%<?php%<?php\n\n\$racktables_confdir = '/etc/racktables';%" \
"$pkgdir"/usr/share/webapps/RackTables/wwwroot/index.php
}