Installation script for mdr
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
||||
tmp/
|
||||
opt/
|
||||
|
||||
|
||||
2
bashrc
2
bashrc
@@ -7,5 +7,5 @@ for rc_file in $WORKSPACE/rc/*; do
|
||||
source $rc_file
|
||||
done
|
||||
|
||||
PATH=$($WORKSPACE/bin/path-uniq.py $WORKSPACE/bin)
|
||||
PATH=$($WORKSPACE/bin/path-uniq.py $WORKSPACE/bin $WORKSPACE/opt/bin)
|
||||
|
||||
|
||||
12
scripts/mdr-install.sh
Executable file
12
scripts/mdr-install.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# git clone https://github.com/MichaelMure/mdr.git ~/src/others/
|
||||
|
||||
set -o nounset
|
||||
set -x
|
||||
set -e
|
||||
|
||||
mdr=$WORKSPACE/opt/bin/mdr
|
||||
wget https://github.com/MichaelMure/mdr/releases/download/v0.2.5/mdr_linux_amd64 -O $mdr
|
||||
chmod +x $mdr
|
||||
|
||||
Reference in New Issue
Block a user