--- embedaddon/smartmontools/os_win32/update-smart-drivedb.nsi 2012/02/21 16:32:16 1.1.1.1 +++ embedaddon/smartmontools/os_win32/update-smart-drivedb.nsi 2013/10/14 07:54:04 1.1.1.2 @@ -3,7 +3,7 @@ ; ; Home page of code is: http://smartmontools.sourceforge.net ; -; Copyright (C) 2011 Christian Franke +; Copyright (C) 2011-13 Christian Franke ; ; 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 . ; -; $Id: update-smart-drivedb.nsi,v 1.1.1.1 2012/02/21 16:32:16 misho Exp $ +; $Id: update-smart-drivedb.nsi,v 1.1.1.2 2013/10/14 07:54:04 misho Exp $ ; @@ -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"