Fix non-functioning installation scripts

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

View file

@ -5,7 +5,7 @@ begin
function installSW -V dir
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
runInstaller $argv

View file

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

View file

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

View file

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