Allow package install scripts to be chained properly

This commit is contained in:
Manuel Thalmann 2024-07-15 12:43:18 +02:00
parent 36030e6eed
commit 3a84881981
4 changed files with 6 additions and 4 deletions

View file

@ -5,7 +5,7 @@ begin
function installSW
pacinst base-devel
configureSW
and configureSW
end
function configureSW
@ -17,6 +17,8 @@ begin
"OPTIONS+=(!debug)" \
"MAKEFLAGS=\"-j\$(nproc)\""
end | sudo tee "$customFile" > /dev/null
else
true
end
end

View file

@ -12,7 +12,7 @@ begin
gitflow-fishcompletion-avh \
gitflow-zshcompletion-avh
fish "$dir/../../../Common/Software/git/main.fish" configure
and fish "$dir/../../../Common/Software/git/main.fish" configure
end
runInstaller $argv

View file

@ -12,7 +12,7 @@ begin
function configureSW
systemctl --global enable --now ssh-agent
begin
and begin
printf %s\n \
"#!/bin/bash" \
'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'

View file

@ -13,7 +13,7 @@ begin
) vim-wayland-clipboard-git \
wl-clipboard
configureSW
and configureSW
end
runInstaller $argv