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
26
26
cut -d ' "' -f 4 | \
27
27
xargs curl -L -s -o kill-tree && \
28
28
chmod +x kill-tree && \
29
- mv kill-tree $bin_path /kill-tree && \
29
+ mv -f kill-tree $bin_path /kill-tree && \
30
30
rm -rf $temp_dir
31
31
32
32
echo " kill-tree install location: $bin_path /kill-tree"
Original file line number Diff line number Diff line change 20
20
temp_dir=$( mktemp -d)
21
21
cd $temp_dir
22
22
23
+ echo " If required, please enter your password for sudo access..."
24
+
23
25
curl -L -s https://api.github.com/repos/oneofthezombies/kill-tree/releases/latest | \
24
26
grep " kill-tree-macos-x86_64" | \
25
27
grep " browser_download_url" | \
26
28
cut -d ' "' -f 4 | \
27
29
xargs curl -L -s -o kill-tree && \
28
30
chmod +x kill-tree && \
29
- mv kill-tree $bin_path /kill-tree && \
31
+ mv -f kill-tree $bin_path /kill-tree && \
30
32
rm -rf $temp_dir
31
33
32
34
echo " kill-tree install location: $bin_path /kill-tree"
You can’t perform that action at this time.
0 commit comments