[Slim-Checkins] r10233 - /branches/6.5/server/Slim/Utils/Firmware.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Fri Oct 6 07:45:13 PDT 2006


Author: andy
Date: Fri Oct  6 07:45:12 2006
New Revision: 10233

URL: http://svn.slimdevices.com?rev=10233&view=rev
Log:
Use version directories for firmware

Modified:
    branches/6.5/server/Slim/Utils/Firmware.pm

Modified: branches/6.5/server/Slim/Utils/Firmware.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Utils/Firmware.pm?rev=10233&r1=10232&r2=10233&view=diff
==============================================================================
--- branches/6.5/server/Slim/Utils/Firmware.pm (original)
+++ branches/6.5/server/Slim/Utils/Firmware.pm Fri Oct  6 07:45:12 2006
@@ -93,7 +93,7 @@
 	
 	my $ok = 1;
 	for my $file ( keys %{$files} ) {
-		my $url = $base . '/' . $file;
+		my $url = $base . '/' . $::VERSION . '/' . $file;
 		
 		$ok = download( $url, $file );
 		
@@ -181,7 +181,7 @@
 	my $file = shift;
 	
 	# URL to download
-	my $url = $base . '/' . $file;
+	my $url = $base . '/' . $::VERSION . '/' . $file;
 	
 	# File to save it in, we use a tmp file so we can check SHA
 	my $path = catdir( $dir, $file ) . '.tmp';



More information about the checkins mailing list