diff options
author | Bernhard Schmidt <berni@debian.org> | 2017-06-29 21:20:59 +0200 |
---|---|---|
committer | Bernhard Schmidt <berni@debian.org> | 2017-06-29 21:20:59 +0200 |
commit | a337e898bf9538be09e13cf50954df1cd4dc5815 (patch) | |
tree | 1a7b8d8a2dababbf294df743e51bdec5ac854fda /debian/rules | |
parent | 624c660403b7712842d542b404aa2b99930948da (diff) |
fix FTBFS on kfreebsd
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 9974293..c8c0dca 100755 --- a/debian/rules +++ b/debian/rules @@ -57,8 +57,10 @@ override_dh_auto_install: install -m 755 debian/update-resolv-conf $(CURDIR)/debian/openvpn/etc/openvpn/update-resolv-conf # bash completion install -m 644 debian/openvpn.bash_completion $(CURDIR)/debian/openvpn/usr/share/bash-completion/completions/openvpn - # append Debian's tmpfiles conf to upstream's + # append Debian's tmpfiles conf to upstream's on Linux (systemd) +ifeq ($(DEB_HOST_ARCH_OS), linux) cat debian/openvpn.conf >> $(CURDIR)/debian/openvpn/usr/lib/tmpfiles.d/openvpn.conf +endif override_dh_installexamples: dh_installexamples |