add sudo and symbolink links for CentOs support
This commit is contained in:
parent
333b5fbba1
commit
fad7c03a76
@ -1,7 +1,7 @@
|
||||
## Prerequisites
|
||||
|
||||
### Centos
|
||||
`yum install git which zip unzip ruby -y`
|
||||
`yum install git which zip unzip ruby sudo -y`
|
||||
|
||||
## Setup
|
||||
```
|
||||
|
@ -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)
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user