From f98fe148fcffc79cec8105a1f6efb45faed8783c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 2 Nov 2024 13:55:21 +0100 Subject: [PATCH] Erase installer functions automatically --- scripts/lib/software.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lib/software.fish b/scripts/lib/software.fish index bf5b4f76..ca476b9f 100755 --- a/scripts/lib/software.fish +++ b/scripts/lib/software.fish @@ -10,9 +10,9 @@ begin userConfig \ userConfig - functions -e installSW - functions -e configureSW - functions -e userConfig + for i in (seq 2 2 (count $actions)) + functions -e "$actions[$i]" + end function runPSUserAction -a script action name pwsh -CommandWithArgs '& $args[0] $args[1] @{ name=$args[2]; }' "$script" "$action" "$name"