summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/vpn/helpers/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py
index 57847e1..de7ba06 100644
--- a/src/leap/bitmask/vpn/helpers/__init__.py
+++ b/src/leap/bitmask/vpn/helpers/__init__.py
@@ -21,6 +21,10 @@ if IS_LINUX:
polkit_from = _config.get_bitmask_polkit_policy_path()
openvpn_from = _config.get_bitmask_openvpn_path()
+ sbin = '/usr/local/sbin'
+ if not os.path.isdir(sbin):
+ os.makedirs(sbin)
+
copyfile(helper_from, helper_to)
chmod(helper_to, 0744)