Skip to content

Commit

Permalink
fixup! prepare.sh: check composer checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
semseysandor committed May 23, 2024
1 parent 2f919b8 commit 3180453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ print-finish

print-header Install MariaDB...
curl -LsS -O https://r.mariadb.com/downloads/mariadb_repo_setup
echo "${mariadb_repo_setup_checksum} mariadb_repo_setup" | sha256sum --check --strict -
echo "${mariadb_repo_setup_checksum} mariadb_repo_setup" | sha256sum --check --strict --status -
sudo bash mariadb_repo_setup --mariadb-server-version="${mariadb_version}"
sudo apt-get --quiet install --yes --no-install-recommends --no-upgrade mariadb-server mariadb-client
sudo mysql_install_db --user=mysql
Expand Down Expand Up @@ -69,8 +69,8 @@ print-finish
print-status Install PHP tools...
tmp_file=$(mktemp)
curl -LsS -o "${tmp_file}" "${url_composer}"
echo "${sha_composer} ${tmp_file}" | sha256sum --check --strict -
sudo cp "${tmp_file}" "${local_bin}/composer"
echo "${sha_composer} ${tmp_file}" | sha256sum --check --strict --status -
sudo cp --no-preserve=mode "${tmp_file}" "${local_bin}/composer"
sudo curl -LsS -o "${local_bin}/cv" "${url_cv}"
sudo chmod +x "${local_bin}/composer"
sudo chmod +x "${local_bin}/cv"
Expand Down

0 comments on commit 3180453

Please sign in to comment.