From 86a4722a8908f6cc655894f2e6e7924d22a898f6 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 12 Jun 2023 22:53:07 +0200 Subject: [PATCH] Manually fix broken codium script --- scripts/Arch/Collections/personal.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Arch/Collections/personal.sh b/scripts/Arch/Collections/personal.sh index 74d611b1..d9fa3b89 100755 --- a/scripts/Arch/Collections/personal.sh +++ b/scripts/Arch/Collections/personal.sh @@ -126,6 +126,9 @@ yay --noconfirm -Syu \ cp ~/.config/codium-flags.conf ~/.config/code-flags.conf; +codiumPattern="^exec .*\\/codium "; +sudo sed -i "/$codiumPattern/{ s/\"\$@\"//; s/$codiumPattern/\0\"\$@\" /; }" /usr/bin/codium; + # Node.js yay --noconfirm -Syu nodejs-n; sudo n install latest;