tried out a different FISH_INSTALL variable config

This commit is contained in:
PieckA 2024-05-26 11:52:16 +02:00
parent 082c9f30ab
commit 8f47b65f6d

View file

@ -97,8 +97,12 @@ function upin
set search "$pkg search" set search "$pkg search"
set ALIASES "-- Alpine.. right, this fast os is evolving.. --" set ALIASES "-- Alpine.. right, this fast os is evolving.. --"
end end
if set -q unattendet
set -U FISH_INSTALL $unattendet
else
set -U FISH_INSTALL $install
end
if test -n "$install" if test -n "$install"
set -U FISH_INSTALL ${unattendet:=$install}
set vars "install" "update" "search" "remove" set vars "install" "update" "search" "remove"
for env in $vars for env in $vars
if not test -z "$env" if not test -z "$env"