Skip to content

Commit

Permalink
Fixed wrong command in package manager c
Browse files Browse the repository at this point in the history
heck
  • Loading branch information
heinthanth committed Nov 15, 2020
1 parent 04cb5c6 commit 0779a12
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi
printf "[*] Checking for ${orange}coreutils${reset} ...\n"
if ! command -v gcsplit &>/dev/null; then
printf "[*] ${red}coreutils not installed${reset}. checking whether package manager exists ...\n"
if command -v "ports" &>/dev/null; then
if command -v "port" &>/dev/null; then
printf "[*] Found MacPorts. Using MacPorts to install coreutils\n"
sudo port install coreutils
elif command -v "brew" &>/dev/null; then
Expand All @@ -58,7 +58,7 @@ fi
printf "[*] Checking for ${orange}aria2c${reset} ...\n"
if ! command -v $HTTP_CLIENT &>/dev/null; then
printf "[*] ${red}aria2 not installed${reset}. checking whether package manager exists ...\n"
if command -v "ports" &>/dev/null; then
if command -v "port" &>/dev/null; then
printf "[*] Found MacPorts. Using MacPorts to install aria2\n"
sudo port install aria2
elif command -v "brew" &>/dev/null; then
Expand Down Expand Up @@ -137,8 +137,6 @@ if [[ $baseURL == "" ]]; then
fi

printf "[*] Downloading macOS installation files ... "
# TODO: remove line 92 after development
baseURL="http://localhost:8000/"
if [[ $VERBOSE_MODE == true ]]; then
printf "\n"
fi
Expand Down

0 comments on commit 0779a12

Please sign in to comment.