Skip to content

Commit

Permalink
Changed from wget to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
asergi committed Feb 25, 2012
1 parent e4ab044 commit 4740b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdownloader
Expand Up @@ -13,14 +13,14 @@ download_updater() {

rm -f jdupdate.jar
echo "$0: Download jdupdate.jar from $MIRROR." >> $LOG_FILE
wget --append-output=$LOG_FILE $MIRROR/jdupdate.jar || zenity --error --text \
curl -vLO $MIRROR/jdupdate.jar 2>>$LOG_FILE || zenity --error --text \
"The JDownloader updater could not be downloaded. \
\nCheck your Internet connection and try again. \
\nThe error log can be found in $LOG_FILE."

rm -f jdupdate.jar.md5
echo "$0: Download jdupdate.jar.md5 from $MIRROR." >> $LOG_FILE
wget --append-output=$LOG_FILE $MIRROR/jdupdate.jar.md5 || zenity --error --text \
curl -vLO $MIRROR/jdupdate.jar.md5 2>>$LOG_FILE || zenity --error --text \
"The JDownloader updater MD5 sum file could not be downloaded. \
\nCheck your Internet connection and try again. \
\nThe error log can be found in $LOG_FILE."
Expand Down

0 comments on commit 4740b86

Please sign in to comment.