]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_win32/update-smart-drivedb.nsi
Imported Upstream version 6.4+svn4214
[mirror_smartmontools-debian.git] / os_win32 / update-smart-drivedb.nsi
index f0e681c659ad77c135649815c7d5af0e74e49844..7b8295a876c622866ec4dfdec57ae5ed6b04509c 100644 (file)
@@ -1,9 +1,9 @@
 ;
 ; smartmontools drive database update NSIS script
 ;
-; Home page of code is: http://smartmontools.sourceforge.net
+; Home page of code is: http://www.smartmontools.org
 ;
-; Copyright (C) 2011 Christian Franke <smartmontools-support@lists.sourceforge.net>
+; Copyright (C) 2011-13 Christian Franke <smartmontools-support@lists.sourceforge.net>
 ;
 ; This program is free software; you can redistribute it and/or modify
 ; it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
 ; You should have received a copy of the GNU General Public License
 ; (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
 ;
-; $Id: update-smart-drivedb.nsi 3392 2011-06-29 19:13:22Z chrfranke $
+; $Id: update-smart-drivedb.nsi 4120 2015-08-27 16:12:21Z samm2 $
 ;
 
 
@@ -95,10 +95,10 @@ Function Download
   Pop $R0
   DetailPrint "Download from $R0"
 
-  ; Trac repository browser (does not return HTTP 404 errors)
-  StrCpy $R1 "http://sourceforge.net/apps/trac/smartmontools/export/HEAD/$R0/smartmontools/drivedb.h"
-  ; ViewVC repository browser (does not return ContentLength required for NSISdl::download)
-  ;StrCpy $R1 "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/$R0/smartmontools/drivedb.h?revision=HEAD"
+  ; SVN repository read-only URL
+  ; (SF code browser does not return ContentLength required for NSISdl::download)
+  StrCpy $R1 "http://svn.code.sf.net/p/smartmontools/code/$R0/smartmontools/drivedb.h"
+
   DetailPrint "($R1)"
 
   NSISdl::download $R1 "drivedb.h.new"