Merge pull request #183 from JackDanger/patch-1

Adding --silent flag to curling text file
This commit is contained in:
popcornmix
2015-07-21 17:26:04 +01:00

View File

@@ -45,7 +45,7 @@ function update_self() {
echo " *** Performing self-update" echo " *** Performing self-update"
_tempFileName="$0.tmp" _tempFileName="$0.tmp"
if ! curl -L --output "${_tempFileName}" "${UPDATE_URI}"; then if ! curl -Ls --output "${_tempFileName}" "${UPDATE_URI}"; then
echo " !!! Failed to download update for rpi-update!" echo " !!! Failed to download update for rpi-update!"
echo " !!! Make sure you have ca-certificates installed and that the time is set correctly" echo " !!! Make sure you have ca-certificates installed and that the time is set correctly"
exit 1 exit 1