diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-02 17:02:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-02 23:54:02 +0200 |
commit | 2807a8432aa2aaac6fa7024974be6468ca1160b5 (patch) | |
tree | 3a4fdc436e97974390f7593faf6be06c7bad1ddd | |
parent | 1239aabd4c2ac0ebb979d1cf5126281335aa5744 (diff) | |
download | guix-2807a8432aa2aaac6fa7024974be6468ca1160b5.tar.gz guix-2807a8432aa2aaac6fa7024974be6468ca1160b5.zip |
gnu: network-manager-openconnect: Patch all the 'openconnect' file names.
* gnu/packages/gnome.scm (network-manager-openconnect)[arguments]: Make
sure all the references to the 'openconnect' executable are patched.
-rw-r--r-- | gnu/packages/gnome.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 55191d31bb..d2e452d8f2 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -6788,8 +6788,7 @@ Compatible with Cisco VPN concentrators configured to use IPsec.") "/bin/modprobe")) (pretty-ovpn (string-append "\"" openconnect "\""))) (substitute* "src/nm-openconnect-service.c" - (("\"/usr/local/sbin/openconnect\"") pretty-ovpn) - (("\"/usr/sbin/openconnect\"") pretty-ovpn) + (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn) (("/sbin/modprobe") modprobe))) #t))))) (native-inputs |