aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/fail2ban/APKBUILD')
-rw-r--r--main/fail2ban/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/fail2ban/APKBUILD b/main/fail2ban/APKBUILD
index 3062cd5716..87db6ee273 100644
--- a/main/fail2ban/APKBUILD
+++ b/main/fail2ban/APKBUILD
@@ -21,12 +21,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$p
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- python setup.py build || return 1
+ python2 setup.py build || return 1
}
package() {
cd "$_builddir"
- python setup.py install --root "$pkgdir" || return 1
+ python2 setup.py install --root "$pkgdir" || return 1
install -Dm755 files/gentoo-initd "$pkgdir"/etc/init.d/fail2ban \
|| return 1
install -Dm644 "$srcdir"/fail2ban.confd "$pkgdir"/etc/conf.d/fail2ban \