From 394305a56a8e8fe1f890cea5c687781095bf6bef Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 28 Jul 2024 23:43:11 +0200 Subject: [PATCH] Prevent `userConfig` from execute multiple times --- scripts/Common/Software/Virtual Machine Manager/main.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Common/Software/Virtual Machine Manager/main.fish b/scripts/Common/Software/Virtual Machine Manager/main.fish index a9912cf8..79dcd727 100755 --- a/scripts/Common/Software/Virtual Machine Manager/main.fish +++ b/scripts/Common/Software/Virtual Machine Manager/main.fish @@ -14,5 +14,9 @@ begin end end + function userConfig -a name + sudo usermod -aG libvirt "$name" + end + runInstaller $argv end