summaryrefslogtreecommitdiffstats
path: root/testing/charybdis
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 08:52:31 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 08:52:31 +0000
commit379a59e03abceedf464f58cbe3475bce69f531e2 (patch)
treea3204bffd57e6b50ae795fc4d8db5e6559382306 /testing/charybdis
parentcc6a000856df1ab273fddca3f9e29b4b2bf49437 (diff)
downloadaports-379a59e03abceedf464f58cbe3475bce69f531e2.tar.bz2
aports-379a59e03abceedf464f58cbe3475bce69f531e2.tar.xz
testing/charybdis: fixes modules path in conf files
Diffstat (limited to 'testing/charybdis')
-rw-r--r--testing/charybdis/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/charybdis/APKBUILD b/testing/charybdis/APKBUILD
index 524b701c3..81f9bef3e 100644
--- a/testing/charybdis/APKBUILD
+++ b/testing/charybdis/APKBUILD
@@ -43,6 +43,10 @@ package() {
chown ircd "$pkgdir"/var/run/charybdis
chown ircd "$pkgdir"/var/log/charybdis
chown ircd "$pkgdir"/var/charybdis
+ sed -i -e "s/\"modules\"/\"\/usr\/lib\/charybdis\/modules\"/g" $pkgdir/etc/$pkgname/example.conf
+ sed -i -e "s/\"modules\/autoload\"/\"\/usr\/lib\/charybdis\/modules\/autoload\"/g" "$pkgdir"/etc/$pkgname/example.conf
+ sed -i -e "s/usr\/local\/ircd\/modules/usr\/lib\/charybdis\/modules/g" "$pkgdir"/etc/$pkgname/reference.conf
+
}
md5sums="b31c126ae76938233d6a0a6d1123dce8 charybdis-3.4.0.tar.bz2