@@ -7,18 +7,21 @@ ANSIBLE_LINT_EXCLUDE="-x indentation,unnamed-task,yaml[indentation]"
7
7
8
8
brew-Linux :
9
9
ifeq (, $(shell which brew) )
10
- curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | /bin/bash
11
- test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
12
- test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
13
- test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
14
- echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
10
+ sudo apt-get update
11
+ sudo apt-get install -y \
12
+ build-essential \
13
+ procps \
14
+ curl \
15
+ file \
16
+ git
17
+ ./install-linuxbrew.sh
15
18
else
16
19
@echo "linuxbrew is already exits."
17
20
endif
18
21
19
22
brew-Darwin :
20
23
ifeq (, $(shell which brew) )
21
- curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | /bin/bash
24
+ NONINTERACTIVE=1 /bin/bash -c "$( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
22
25
else
23
26
@echo "homebrew is already exits."
24
27
endif
31
34
brew install age
32
35
33
36
python-Linux :
34
- sudo apt update
35
- sudo apt install -y python3
36
- sudo apt upgrade -y python3
37
+ sudo apt-get update
38
+ sudo apt-get install -y python3
39
+ sudo apt-get upgrade -y python3
37
40
38
41
python-Darwin :
39
42
brew install python
@@ -42,11 +45,11 @@ python-Darwin:
42
45
python : python-$(UNAME )
43
46
44
47
ansible-Linux :
45
- sudo apt update
46
- sudo apt install software-properties-common
47
- sudo add-apt-repository --yes --update ppa:ansible/ansible
48
- sudo apt install -y ansible
49
- sudo apt install -y ansible-lint
48
+ sudo apt-get update
49
+ sudo apt-get install -y software-properties-common
50
+ sudo add-get- apt-repository --yes --update ppa:ansible/ansible
51
+ sudo apt-get install -y ansible
52
+ sudo apt-get install -y ansible-lint
50
53
51
54
ansible-Darwin :
52
55
brew install ansible
0 commit comments