arduino-create-agent: init at 1.6.1 (#300694)
[NixPkgs.git] / pkgs / tools / networking / openvpn / update-systemd-resolved.patch
blobe03c476e5090d452c3b1e8d4e7b2a4fcc9a337d9
1 diff --git a/Makefile b/Makefile
2 index 524b6b7..8a880f1 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -9,7 +9,6 @@ all: install info
7 install:
8 @install -Dm750 $(SRC) $(DEST)
9 - @install -Dm644 $(SRC).conf $(DEST).conf
11 info:
12 @printf 'Successfully installed %s to %s.\n' $(SRC) $(DEST)
13 diff --git a/update-systemd-resolved b/update-systemd-resolved
14 index 1452e1a..39641cb 100755
15 --- a/update-systemd-resolved
16 +++ b/update-systemd-resolved
17 @@ -29,7 +29,8 @@
18 DBUS_DEST="org.freedesktop.resolve1"
19 DBUS_NODE="/org/freedesktop/resolve1"
21 -SCRIPT_NAME="${BASH_SOURCE[0]##*/}"
22 +PATH="@PATH@"
23 +SCRIPT_NAME="update-systemd-resolved"
25 log() {
26 logger -s -t "$SCRIPT_NAME" "$@"