summaryrefslogtreecommitdiff
path: root/community/john/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/john/PKGBUILD')
-rw-r--r--community/john/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD
index 27f36a9ec..23602edf5 100644
--- a/community/john/PKGBUILD
+++ b/community/john/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=john
pkgver=1.7.9
-pkgrel=4
+pkgrel=5
_jumbover=6
pkgdesc="John The Ripper - A fast password cracker (jumbo-$_jumbover included)"
arch=('i686' 'x86_64')
@@ -57,6 +57,7 @@ build() {
package() {
# config file
+ sed -i 's|$JOHN/john.local.conf|/etc/john.local.conf|g' ${srcdir}/john-$pkgver/run/john.conf
sed -i 's|$JOHN|/usr/share/john|g' ${srcdir}/john-$pkgver/run/john.conf
install -Dm644 ${srcdir}/john-$pkgver/run/john.conf ${pkgdir}/etc/john/john.conf