me
/
guix
Archived
1
0
Fork 0

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.
Ludovic Courtès 2020-07-02 17:02:45 +02:00
parent 1239aabd4c
commit 2807a8432a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 2 deletions

View File

@ -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