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
### Centos
`yum install git which zip unzip ruby -y`
`yum install git which zip unzip ruby sudo -y`
## Setup
```

View File

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