editing install.sh

This commit is contained in:
Paul Wilde 2023-11-23 12:23:20 +00:00
parent bd5b314cf1
commit 9570461b13

View file

@ -1,12 +1,4 @@
#!/bin/bash #!/bin/bash
build () { nimble install -y
i="$1" cp -v "wmtools" "$HOME/.local/bin/wmtools"
cd "./$dir" || exit
nimble install -y
if [[ $i == "install" ]]; then
cp -v "wmtools" "$HOME/.local/bin/wmtools"
fi
}
build $1