Skip to content

Commit

Permalink
Merge pull request #641 from lmichelin/master
Browse files Browse the repository at this point in the history
馃悶 Bug Fix: make symfony-cli installation faster on Linux
  • Loading branch information
shivammathur committed Sep 1, 2022
2 parents 40a4cb0 + 45410ae commit 6333217
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scripts/tools/symfony.sh
@@ -1,11 +1,11 @@
add_symfony_helper() {
if command -v brew >/dev/null; then
add_brew_tap symfony-cli/homebrew-tap
brew install symfony-cli/tap/symfony-cli
else
if [ "$(uname -s)" = "Linux" ]; then
arch=$(dpkg --print-architecture)
get -s -n "" "https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_$arch.tar.gz" | sudo tar -xz -C "${tool_path_dir:?}"
sudo chmod a+x /usr/local/bin/symfony
elif [ "$(uname -s)" = "Darwin" ]; then
add_brew_tap symfony-cli/homebrew-tap
brew install symfony-cli/tap/symfony-cli
fi
}

Expand Down

0 comments on commit 6333217

Please sign in to comment.