Fix non-functioning installation scripts
This commit is contained in:
parent
770c87a670
commit
056131e206
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue