Fix non-functioning installation scripts

This commit is contained in:
Manuel Thalmann 2024-07-30 00:52:35 +02:00
parent 346614deee
commit 8e1f3e0148
4 changed files with 6 additions and 4 deletions

View file

@ -5,7 +5,7 @@ begin
function installSW -V dir function installSW -V dir
yayinst nodejs-n yayinst nodejs-n
sudo fish "$dir/../../../Common/Software/n/main.fish" configure sudo --preserve-env --set-home fish "$dir/../../../Common/Software/n/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -7,10 +7,12 @@ begin
yayinst \ yayinst \
openssh \ openssh \
libfido2 libfido2
source (status filename) configure
end end
function configureSW function configureSW
systemctl --global enable --now ssh-agent sudo systemctl --global enable ssh-agent
and begin and begin
printf %s\n \ printf %s\n \

View file

@ -14,7 +14,7 @@ then
UNPACKED_EXTENSION="${UNPACKED_EXTENSION}" \ UNPACKED_EXTENSION="${UNPACKED_EXTENSION}" \
EXTENSION_DIR="${EXTENSION_DIR}" \ EXTENSION_DIR="${EXTENSION_DIR}" \
EXTENSION_POLICY_DIR="${EXTENSION_POLICY_DIR}" \ EXTENSION_POLICY_DIR="${EXTENSION_POLICY_DIR}" \
bash "$BASH_SOURCE" "$USER"; bash --login "$BASH_SOURCE" "$USER";
else else
keyFile="$UNPACKED_EXTENSION.pem"; keyFile="$UNPACKED_EXTENSION.pem";
extensionFile="$UNPACKED_EXTENSION.crx"; extensionFile="$UNPACKED_EXTENSION.crx";

View file

@ -20,7 +20,7 @@ begin
end | installBashProfile "pyenv" > /dev/null end | installBashProfile "pyenv" > /dev/null
if type -q fish if type -q fish
addFishProfile "pyenv" "pyenv" "pyenv init - | source" installFishProfile "pyenv" "pyenv" "pyenv init - | source"
end end
end end