From d661e0c9652aec34355b0aeb46400bca29bdd604 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 5 Feb 2014 07:32:04 +0000 Subject: main/arpwatch: fix install dir for arwpatch-ethercodes ref #2593 --- main/arpwatch/APKBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main/arpwatch') 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 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 } -- cgit v1.2.3