File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ curl -L -s https://api.github.com/repos/oneofthezombies/kill-tree/releases/lates
2626 cut -d ' "' -f 4 | \
2727 xargs curl -L -s -o kill-tree && \
2828 chmod +x kill-tree && \
29- mv kill-tree $bin_path /kill-tree && \
29+ mv -f kill-tree $bin_path /kill-tree && \
3030 rm -rf $temp_dir
3131
3232echo " kill-tree install location: $bin_path /kill-tree"
Original file line number Diff line number Diff line change 2020temp_dir=$( mktemp -d)
2121cd $temp_dir
2222
23+ echo " If required, please enter your password for sudo access..."
24+
2325curl -L -s https://api.github.com/repos/oneofthezombies/kill-tree/releases/latest | \
2426 grep " kill-tree-macos-x86_64" | \
2527 grep " browser_download_url" | \
2628 cut -d ' "' -f 4 | \
2729 xargs curl -L -s -o kill-tree && \
2830 chmod +x kill-tree && \
29- mv kill-tree $bin_path /kill-tree && \
31+ mv -f kill-tree $bin_path /kill-tree && \
3032 rm -rf $temp_dir
3133
3234echo " kill-tree install location: $bin_path /kill-tree"
You can’t perform that action at this time.
0 commit comments