[Ubuntu] update zstd version (#6681)

This commit is contained in:
Alexey-Ayupov
2022-12-29 23:33:04 +01:00
committed by GitHub
parent 39ba239618
commit f7f519dcc4
10 changed files with 39 additions and 55 deletions

View File

@@ -22,23 +22,6 @@ setEtcEnvironmentVariable HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS 3650
echo "Validate the installation reloading /etc/environment"
reloadEtcEnvironment
# Install additional brew packages
# brew GCC installation needed because the default Ubuntu components
# are too old for current brew software
# See:
# https://github.com/Homebrew/homebrew-core/issues/110877
brew_packages=$(get_toolset_value .brew[].name)
for package in $brew_packages; do
echo "Install $package"
brew install $package
# create symlinks for zstd in /usr/local/bin
if [[ $package == "zstd" ]]; then
find $(brew --prefix)/bin -name *zstd* -exec sudo sh -c 'ln -s {} /usr/local/bin/$(basename {})' ';'
fi
done
gfortran=$(brew --prefix)/bin/gfortran
# Remove gfortran symlink, not to conflict with system gfortran
if [[ -e $gfortran ]]; then