From a2f27209b57bea427c07bff098dcd65a2766e600 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"