change task install dir

This commit is contained in:
Andrew Hurley 2022-10-27 01:07:34 +11:00
parent 2ef994b861
commit fa298f5c6f
1 changed files with 2 additions and 3 deletions

View File

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