add sudo and symbolink links for CentOs support

This commit is contained in:
Morgan Wattiez 2019-08-11 17:57:00 +02:00
parent 333b5fbba1
commit fad7c03a76
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
## Prerequisites ## Prerequisites
### Centos ### Centos
`yum install git which zip unzip ruby -y` `yum install git which zip unzip ruby sudo -y`
## Setup ## Setup
``` ```

View File

@ -1,5 +1,6 @@
# Make sure Code directory exists # Make sure Code directory exists
mkdir -p ~/Code mkdir -p ~/Code
ln -snf ~/Code/dotfiles/dot_scripts ~/.scripts
chmod +x ~/.scripts/*.sh chmod +x ~/.scripts/*.sh
# Install missing package (Linux) # Install missing package (Linux)
@ -22,8 +23,8 @@ case "$(uname -s)" in
Linux) Linux)
echo 'Linux' echo 'Linux'
git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin mkdir -p ~/.linuxbrew/bin
ln -s ../Homebrew/bin/brew ~/.linuxbrew/bin ln -snf ../Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv) eval $(~/.linuxbrew/bin/brew shellenv)
;; ;;
*) *)