Allow package install scripts to be chained properly

This commit is contained in:
Manuel Thalmann 2024-07-15 12:43:18 +02:00
parent 8d1c754106
commit 09e405bd9d
4 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ begin
function installSW function installSW
pacinst base-devel pacinst base-devel
configureSW and configureSW
end end
function configureSW function configureSW

View file

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

View file

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

View file

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