Browse Source

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 1 year ago
parent
commit
2807a8432a
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 3
      gnu/packages/gnome.scm

3
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

Loading…
Cancel
Save