diff options
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/Makefile.am | 13 | ||||
-rwxr-xr-x | src/vpn/install-vpn-helper.sh | 5 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/vpn/Makefile.am b/src/vpn/Makefile.am index 9992fa5ed..407d8ba92 100644 --- a/src/vpn/Makefile.am +++ b/src/vpn/Makefile.am | |||
@@ -14,21 +14,8 @@ plugindir = $(libdir)/gnunet | |||
14 | pkgcfg_DATA = \ | 14 | pkgcfg_DATA = \ |
15 | vpn.conf | 15 | vpn.conf |
16 | 16 | ||
17 | if HAVE_SUDO | ||
18 | SUDO_OR_DOAS_BINARY= $(SUDO_BINARY) | ||
19 | else | ||
20 | if HAVE_DOAS_BINARY | ||
21 | SUDO_OR_DOAS_BINARY= $(DOAS_BINARY) | ||
22 | endif | ||
23 | endif | ||
24 | |||
25 | if LINUX | 17 | if LINUX |
26 | VPNBIN = gnunet-helper-vpn | 18 | VPNBIN = gnunet-helper-vpn |
27 | install-exec-hook: | ||
28 | chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-vpn | ||
29 | chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-vpn | ||
30 | else | ||
31 | install-exec-hook: | ||
32 | endif | 19 | endif |
33 | 20 | ||
34 | 21 | ||
diff --git a/src/vpn/install-vpn-helper.sh b/src/vpn/install-vpn-helper.sh deleted file mode 100755 index 086dabb67..000000000 --- a/src/vpn/install-vpn-helper.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # $1 - bindir | ||
3 | # $2 - sudo binary (optional) | ||
4 | $2 chown root:root $1/gnunet-helper-vpn || true | ||
5 | $2 chmod u+s $1/gnunet-helper-vpn || true | ||