From 7b671c649d758ffb14d40e27388dcc688a7eb719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ak=C4=B1n=20Demir?= Date: Sun, 24 Mar 2024 23:21:16 +0300 Subject: [PATCH] Update blackdagger-installer.sh --- scripts/blackdagger-installer.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/blackdagger-installer.sh b/scripts/blackdagger-installer.sh index 8d560ac..a37ed9a 100644 --- a/scripts/blackdagger-installer.sh +++ b/scripts/blackdagger-installer.sh @@ -87,12 +87,12 @@ 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 +# Check if /usr/bin/ exists, if not, create it +if [ ! -d "/usr/bin" ]; then + sudo mkdir -p /usr/bin/ fi -sudo mv "./blackdagger" /usr/local/bin/ -echo "blackdagger has been downloaded, extracted, and moved to /usr/local/bin successfully." +sudo mv "./blackdagger" /usr/bin/ +echo "blackdagger has been downloaded, extracted, and moved to /usr/bin/ successfully." # Cleanup rm -rf "$TMPDIR" "blackdagger" "$@"