fix: lynx needed a openssl+rvm upgrade

- add alias for gpg2 to point to gpg, needed for rvm install script
- reinstall openssl (brew reinstall openssl) to fix lynx
- install rvm
This commit is contained in:
MorganGeek 2020-07-13 16:02:47 +02:00
parent dea26329ef
commit c415f35543
2 changed files with 9 additions and 12 deletions

View File

@ -3,6 +3,7 @@
alias mgmt='ssh $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519' alias mgmt='ssh $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519'
alias m='mgmt' alias m='mgmt'
alias tunnel='ssh -D 8000 -N $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519' alias tunnel='ssh -D 8000 -N $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519'
alias gpg2="gpg"
alias sshpub='cat $HOME/.ssh/id_ed25519.pub' alias sshpub='cat $HOME/.ssh/id_ed25519.pub'
alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert> alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
alias encrypt='ansible-vault encrypt **/vault.yml --vault-password-file=$VAULT_PASSWORD_FILE' alias encrypt='ansible-vault encrypt **/vault.yml --vault-password-file=$VAULT_PASSWORD_FILE'

View File

@ -1,6 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
case "$(uname -s)" in
Linux)
echo '(Linux) Installing ruby' echo '(Linux) Installing ruby'
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
@ -9,5 +7,3 @@ case "$(uname -s)" in
rvm reload rvm reload
rvm requirements run rvm requirements run
rvm install 2.3.7 rvm install 2.3.7
;;
esac