From 2807a8432aa2aaac6fa7024974be6468ca1160b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 2 Jul 2020 17:02:45 +0200 Subject: [PATCH] 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. --- gnu/packages/gnome.scm | 3 +-- 1 file changed, 1 insertion(+), 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