Ignore installation status by default

This commit is contained in:
Manuel Thalmann 2024-07-20 01:32:42 +02:00
parent 17df6adafa
commit cd35c5d4f4

View file

@ -3,7 +3,6 @@ begin
set -a installed set -a installed
function getSWName function getSWName
echo "PortValhalla"
end end
function installSW function installSW
@ -17,7 +16,7 @@ begin
set -a installed (getSWName) set -a installed (getSWName)
installSW $argv[2..] installSW $argv[2..]
else if [ "$action" = "configure" ] else if [ "$action" = "configure" ]
if contains (getSWName) $installed if [ -z (getSWName) ] || contains (getSWName) $installed
configureSW $argv[2..] configureSW $argv[2..]
else else
printf %s%s\n \ printf %s%s\n \