Skip to content

Commit

Permalink
replaced wget with cURL (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdentremont authored Jul 22, 2024
1 parent 4fab939 commit 6e4a636
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ See the [customizations](#customizations) steps afterwards about removing unwant
- [Docker 24.0+](https://docs.docker.com/get-docker/) **Referring to the Docker Engine version, not Docker Desktop**.
- [Docker Compose](https://docs.docker.com/compose/install/linux/) **Already included in OSX with Docker**
- [mkcert 1.4+](https://github.com/FiloSottile/mkcert)
- `wget` and `git`
- `cURL` and `git`
## Java and macOS

mkcert seems to have problems when running on Java installed via Homebrew.
Expand Down
2 changes: 1 addition & 1 deletion README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This is the development and production infrastructure for INSTITUTION's SITE_NAM
- [Docker 24.0+](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/linux/) **Already included in OSX with Docker**
- [mkcert 1.4+](https://github.com/FiloSottile/mkcert) **Local Development only**
- `wget` and `git`
- `cURL` and `git`

# Docker Compose

Expand Down
5 changes: 2 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ function initialize_from_starter_site {
local ref
echo "Initializing from starter site..."
ref=$(choose_ref "${repo}")
wget \
-c "${repo}/archive/${ref}.tar.gz" \
-O - | tar --strip-components=1 -C drupal/rootfs/var/www/drupal -xz
curl -L "${repo}/archive/${ref}.tar.gz" \
| tar --strip-components=1 -C drupal/rootfs/var/www/drupal -xz
rm -fr drupal/rootfs/var/www/drupal/.github
git checkout drupal/rootfs/var/www/drupal/assets/patches/default_settings.txt
git add .
Expand Down

0 comments on commit 6e4a636

Please sign in to comment.