aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/dhcp/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index ccd7393937..360af69fcb 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -2,7 +2,7 @@
pkgname=dhcp
pkgver=4.2.4_p1
_realver=${pkgver/_p/-P}
-pkgrel=0
+pkgrel=1
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
url="https://www.isc.org/"
arch="all"
@@ -68,11 +68,11 @@ dhclient() {
dhcrelay() {
pkgdesc="ISC dhcp relay server"
replaces="dhcp"
- install -d "$pkgdir"/var/run/dhcp
- install -d "$subpkgdir"/usr/sbin
+ install -d "$subpkgdir"/var/run/dhcp \
+ "$subpkgdir"/usr/sbin || return 1
mv "$pkgdir"/usr/sbin/dhcrelay "$subpkgdir"/usr/sbin/
install -m755 -D "$srcdir"/dhcrelay.initd \
- "$subpkgdir"/etc/init.d/dhcrelay
+ "$subpkgdir"/etc/init.d/dhcrelay
install -m644 -D "$srcdir"/dhcrelay.confd \
"$subpkgdir"/etc/conf.d/dhcrelay
}