add sudo and symbolink links for CentOs support
This commit is contained in:
parent
333b5fbba1
commit
fad7c03a76
@ -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
|
||||||
```
|
```
|
||||||
|
@ -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)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user