Skip to content
Snippets Groups Projects
Commit d661e0c9 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/arpwatch: fix install dir for arwpatch-ethercodes

ref #2593
parent 7aa2f296
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment