Skip to content

Commit

Permalink
fix downloaded filename
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Oct 24, 2023
1 parent 7127368 commit ed9c36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/local-dev-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ if [ ! -d "/var/www/html/$WORDPRESS_FOLDER" ]; then

echo "installing wordpress $WORDPRESS_VERSION from $WORDPRESS_URL to /var/www/html/$WORDPRESS_FOLDER/..."

curl -O "$WORDPRESS_URL"
curl "$WORDPRESS_URL" > "wordpress-$WORDPRESS_VERSION.zip"

unzip -q "wordpress-$WORDPRESS_VERSION.tar.gz"
unzip -q "wordpress-$WORDPRESS_VERSION.zip"
mv wordpress "$WORDPRESS_FOLDER"

echo "wordpress installed!"
Expand Down

0 comments on commit ed9c36d

Please sign in to comment.