From 9ba6fea8945dc8aab2d309d5c36744450e030d92 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 3 May 2023 18:43:34 +0200 Subject: [PATCH] Add scripts for installing OpenConnect workarounds --- scripts/Arch/Config/OpenConnect/networkmanager.sh | 5 +++++ scripts/Arch/Config/OpenConnect/plasma-nm.sh | 5 +++++ scripts/Arch/Software/OpenConnect/install.sh | 4 ---- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 scripts/Arch/Config/OpenConnect/networkmanager.sh create mode 100755 scripts/Arch/Config/OpenConnect/plasma-nm.sh diff --git a/scripts/Arch/Config/OpenConnect/networkmanager.sh b/scripts/Arch/Config/OpenConnect/networkmanager.sh new file mode 100755 index 00000000..841225f5 --- /dev/null +++ b/scripts/Arch/Config/OpenConnect/networkmanager.sh @@ -0,0 +1,5 @@ +#!/bin/bash +contextRoot="$(mktemp -d)"; +git clone https://git.nuth.ch/manuth/arch-networkmanager-openconnect-unsafe-crypto.git "$contextRoot"; +. "$contextRoot/install.sh"; +rm -rf "$contextRoot"; diff --git a/scripts/Arch/Config/OpenConnect/plasma-nm.sh b/scripts/Arch/Config/OpenConnect/plasma-nm.sh new file mode 100755 index 00000000..2c67343e --- /dev/null +++ b/scripts/Arch/Config/OpenConnect/plasma-nm.sh @@ -0,0 +1,5 @@ +#!/bin/bash +contextRoot="$(mktemp -d)"; +git clone https://git.nuth.ch/manuth/arch-plasma-nm-sso.git "$contextRoot"; +. "$contextRoot/install.sh"; +rm -rf "$contextRoot"; diff --git a/scripts/Arch/Software/OpenConnect/install.sh b/scripts/Arch/Software/OpenConnect/install.sh index 61236557..4bd07d78 100755 --- a/scripts/Arch/Software/OpenConnect/install.sh +++ b/scripts/Arch/Software/OpenConnect/install.sh @@ -1,6 +1,2 @@ #!/bin/bash -contextRoot="$(mktemp -d)"; yay --noconfirm -Syu openconnect-git; -git clone https://git.nuth.ch/manuth/arch-networkmanager-openconnect-unsafe-crypto.git "$contextRoot"; -. "$contextRoot/install.sh"; -rm -rf "$contextRoot";