Installation script for mdr

This commit is contained in:
Martin Blazik
2020-09-28 19:00:53 +02:00
parent c9be1f0e71
commit e70c82c780
3 changed files with 15 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
tmp/
opt/

2
bashrc
View File

@@ -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
View 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