Skip to content

Commit

Permalink
Update blackdagger-installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akindemirsec committed Mar 23, 2024
1 parent f7da040 commit 586d4f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/blackdagger-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ tar -xf "$TAR_FILE" -C "$TMPDIR"
cp "${TMPDIR}/blackdagger" ./

echo # blank for sudo prompt
# Check if /usr/local/bin exists, if not, create it
if [ ! -d "/usr/local/bin" ]; then
sudo mkdir -p /usr/local/bin
fi
sudo mv "./blackdagger" /usr/local/bin/
echo "blackdagger has been downloaded, extracted, and moved to /usr/local/bin successfully."
# Cleanup
Expand Down

0 comments on commit 586d4f8

Please sign in to comment.