From fa298f5c6f9743bf6d06f08eea470b1791215c75 Mon Sep 17 00:00:00 2001 From: Andrew Hurley Date: Thu, 27 Oct 2022 01:07:34 +1100 Subject: [PATCH] change task install dir --- gotask/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gotask/install.sh b/gotask/install.sh index 4cf8dda..db74d74 100755 --- a/gotask/install.sh +++ b/gotask/install.sh @@ -1,8 +1,7 @@ #!/bin/bash -mkdir -p ~/.local/bin -if [[ ! -f ~/.local/bin/task ]]; then - cp task ~/.local/bin +if [[ ! -f /usr/local/bin/task ]]; then + sudo cp task /usr/local/bin fi if [[ ! -f /etc/bash_completion.d/task.bash ]]; then sudo cp task.bash /etc/bash_completion.d/task.bash