aboutsummaryrefslogtreecommitdiffstats
path: root/main/arpwatch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-05 07:32:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-05 07:32:04 +0000
commitd661e0c9652aec34355b0aeb46400bca29bdd604 (patch)
treea6bad61b5ac8618e55d69120938e4994ab9af04d /main/arpwatch
parent7aa2f29646a7ea6b6063684a313fd8721fd27413 (diff)
downloadaports-d661e0c9652aec34355b0aeb46400bca29bdd604.tar.bz2
aports-d661e0c9652aec34355b0aeb46400bca29bdd604.tar.xz
main/arpwatch: fix install dir for arwpatch-ethercodes
ref #2593
Diffstat (limited to 'main/arpwatch')
-rw-r--r--main/arpwatch/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD
index 8b8e786af3..f46f5ba3d5 100644
--- a/main/arpwatch/APKBUILD
+++ b/main/arpwatch/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=arpwatch
pkgver=2.1a15
-pkgrel=11
+pkgrel=12
pkgdesc="Ethernet monitoring program"
url="http://www-nrg.ee.lbl.gov/"
arch="all"
@@ -83,8 +83,10 @@ ethercodes() {
pkgdesc="$pkgname ethernet codes"
mkdir -p "$subpkgdir"/usr/share/$pkgname/awk
install -Dm644 "$_builddir"/ethercodes.dat "$subpkgdir"/usr/share/$pkgname/ethercodes.dat
+
+ install -d "$subpkgdir"/usr/share/$pkgname/awk || return 1
for f in "$_builddir"/*.awk; do
- install -Dm644 $f "$subpkgdir"/usr/share/$pkgname/awk/$f
+ install -m644 $f "$subpkgdir"/usr/share/$pkgname/awk/ || return 1
done
}