editing install.sh
This commit is contained in:
parent
bd5b314cf1
commit
9570461b13
1 changed files with 2 additions and 10 deletions
|
@ -1,12 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build () {
|
|
||||||
i="$1"
|
|
||||||
cd "./$dir" || exit
|
|
||||||
nimble install -y
|
nimble install -y
|
||||||
if [[ $i == "install" ]]; then
|
|
||||||
cp -v "wmtools" "$HOME/.local/bin/wmtools"
|
cp -v "wmtools" "$HOME/.local/bin/wmtools"
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
build $1
|
|
||||||
|
|
Loading…
Reference in a new issue