Skip to content

Commit 30576de

Browse files
committed
Add an install script for download and configure git_matrix.sh
1 parent 901fda7 commit 30576de

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

install.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
if [[ ! $(which wget) ]]
4+
then
5+
[[ $(which apt-get) ]] && sudo apt-get install wget
6+
[[ $(which yum) ]] && sudo yum install wget
7+
[[ $(which zypper) ]] && sudo zypper install wget
8+
fi
9+
10+
mkdir -p ./bin
11+
wget -P ./bin https://raw.githubusercontent.com/rubenmromero/git-matrix/master/git_matrix.sh
12+
chmod 755 ./bin/git_matrix.sh

0 commit comments

Comments
 (0)