Skip to content

Commit c403059

Browse files
committed
build: update script
1 parent e537f34 commit c403059

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

installs/linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

3232
echo "kill-tree install location: $bin_path/kill-tree"

installs/macos.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ fi
2020
temp_dir=$(mktemp -d)
2121
cd $temp_dir
2222

23+
echo "If required, please enter your password for sudo access..."
24+
2325
curl -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

3234
echo "kill-tree install location: $bin_path/kill-tree"

0 commit comments

Comments
 (0)