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.
parent
1239aabd4c
commit
2807a8432a
|
@ -6788,8 +6788,7 @@ Compatible with Cisco VPN concentrators configured to use IPsec.")
|
||||||
"/bin/modprobe"))
|
"/bin/modprobe"))
|
||||||
(pretty-ovpn (string-append "\"" openconnect "\"")))
|
(pretty-ovpn (string-append "\"" openconnect "\"")))
|
||||||
(substitute* "src/nm-openconnect-service.c"
|
(substitute* "src/nm-openconnect-service.c"
|
||||||
(("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
|
(("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
|
||||||
(("\"/usr/sbin/openconnect\"") pretty-ovpn)
|
|
||||||
(("/sbin/modprobe") modprobe)))
|
(("/sbin/modprobe") modprobe)))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue