change task install dir
This commit is contained in:
parent
2ef994b861
commit
fa298f5c6f
|
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p ~/.local/bin
|
if [[ ! -f /usr/local/bin/task ]]; then
|
||||||
if [[ ! -f ~/.local/bin/task ]]; then
|
sudo cp task /usr/local/bin
|
||||||
cp task ~/.local/bin
|
|
||||||
fi
|
fi
|
||||||
if [[ ! -f /etc/bash_completion.d/task.bash ]]; then
|
if [[ ! -f /etc/bash_completion.d/task.bash ]]; then
|
||||||
sudo cp task.bash /etc/bash_completion.d/task.bash
|
sudo cp task.bash /etc/bash_completion.d/task.bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue