#34 Show status info and progress when downloading large files
Merged 2 years ago by glb. Opened 2 years ago by glb.
glb/fedoramagazine-theme status  into  master

file modified
+4 -2
@@ -20,14 +20,16 @@ 

  

  if ! [[ -e opt ]]; then

  	mkdir opt

- 	curl -L -s --output-dir opt -o wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

+ 	echo downloading opt/wp ...

+ 	curl -# -L --output-dir opt -o wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

  	chmod +x opt/wp

  fi

  

  if ! [[ -e srv ]]; then

  	mkdir srv

  	for plugin in $WPPLUGIN; do

- 		curl -L -s --output-dir srv -O https://downloads.wordpress.org/plugin/$plugin.zip

+ 		echo downloading srv/$plugin.zip ...

+ 		curl -# -L --output-dir srv -O https://downloads.wordpress.org/plugin/$plugin.zip

  	done

  fi

  

no initial comment

Pull-Request has been merged by glb

2 years ago
Metadata
Changes Summary 1