Skip to content

Commit

Permalink
fix: fix installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
kvr24611 committed Dec 23, 2024
1 parent 1aa16c7 commit 2239709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ echo "Initializing download..."
VERSION_ARG=$1

# Constants
REPO_URL="https://github.com/aj3sh/ad2bs"
REPO_URL="https://github.com/opensource-nepal/ad2bs"
RELEASES_URL="${REPO_URL}/releases"
FILE_BASENAME="ad2bs"
BINDIR=/usr/local/bin
BINARIES=("ad2bs" "bs2ad")
BINARIES="ad2bs bs2ad"

github_release() {
version=$1
Expand Down Expand Up @@ -71,7 +71,7 @@ rm -rf "$TMP_DIR/$TAR_FILE"
cp "${TMP_DIR}/ad2bs" "${TMP_DIR}/bs2ad"

# Installing binaries
for binexe in "${BINARIES[@]}"; do
for binexe in $BINARIES; do
if [ "$OS" = "windows" ]; then
binexe="${binexe}.exe"
fi
Expand Down

0 comments on commit 2239709

Please # to comment.