Pass arguments to software scripts

This commit is contained in:
Manuel Thalmann 2024-07-15 13:56:27 +02:00
parent 26c219a520
commit 8979ad11e4

View file

@ -8,9 +8,9 @@ begin
function runInstaller -a action function runInstaller -a action
if [ -z "$action" ] || [ "$action" = "install" ] if [ -z "$action" ] || [ "$action" = "install" ]
installSW installSW $argv[2..]
else if [ "$action" = "configure" ] else if [ "$action" = "configure" ]
configureSW configureSW $argv[2..]
end end
end end
end end