[Title] Set "wget" retry count to 3
authordonghee yang <donghee.yang@samsung.com>
Tue, 16 Oct 2012 12:41:23 +0000 (21:41 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Tue, 16 Oct 2012 12:41:23 +0000 (21:41 +0900)
package/changelog
package/pkginfo.manifest
src/pkg_server/downloader.rb

index bbc44ef4c0834e9e1b099670448648148c6cd6c8..0328c0de9df9f849036e7cfe4d5eb5ff8c7ed296 100644 (file)
@@ -1,3 +1,6 @@
+* 1.2.3
+- Set "wget" retry count to 3
+== hyoun jiil <jiil.hyoun@samsung.com> 2011-10-16
 * 1.2.2
 - Fixed server log contents
 == hyoun jiil <jiil.hyoun@samsung.com> 2011-10-16
index 511dfbca8d7ff46a2e7ab98d95e82f2b32b07c34..80ed80cd79e9ead8babe092b4e0696884b36ca5b 100644 (file)
@@ -1,5 +1,5 @@
 Source : dibs
-Version :1.2.2
+Version :1.2.3
 Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
 
 Package : dibs
index 9bdeeb9aa97183de893356a3cf72c5b5926ada92..2d104a7c6e599521242bf0fd117b2ecc52b31029 100644 (file)
@@ -45,7 +45,7 @@ class FileDownLoader
 
                logger.info "Downloading #{url}"
         if is_remote then
-            pid,status = Utils.execute_shell_with_log( "wget #{url} -O #{fullpath} -nv", logger.path )
+            pid,status = Utils.execute_shell_with_log( "wget #{url} -O #{fullpath} -nv --tries=3", logger.path )
                        ret = (not status.nil? and status.exitstatus) != 0 ? false : true
             #ret = Utils.execute_shell( "wget #{url} -O #{fullpath} -q")
         else