Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Bug Fix: make symfony-cli installation faster on Linux #641

Merged
merged 1 commit into from Sep 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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