summaryrefslogtreecommitdiff
path: root/security/duo_openvpn/files/patch-duo__openvpn.py
diff options
context:
space:
mode:
Diffstat (limited to 'security/duo_openvpn/files/patch-duo__openvpn.py')
-rw-r--r--security/duo_openvpn/files/patch-duo__openvpn.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/duo_openvpn/files/patch-duo__openvpn.py b/security/duo_openvpn/files/patch-duo__openvpn.py
new file mode 100644
index 000000000000..f1872659cf27
--- /dev/null
+++ b/security/duo_openvpn/files/patch-duo__openvpn.py
@@ -0,0 +1,12 @@
+--- duo_openvpn.py.orig 2021-05-06 18:37:22 UTC
++++ duo_openvpn.py
+@@ -1,8 +1,4 @@
+-#!/bin/sh
+-''''which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" # '''
+-''''which python >/dev/null 2>&1 && exec python "$0" "$@" # '''
+-''''which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" # '''
+-''''exec echo "Error: No python module found in system"# '''
++#!%%SHEBANG%%
+ #
+ # duo_openvpn.py
+ # Duo OpenVPN