commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9618 - trunk/www/utils/sbin


From: reinhard
Subject: [gnue] r9618 - trunk/www/utils/sbin
Date: Thu, 24 May 2007 12:27:05 -0500 (CDT)

Author: reinhard
Date: 2007-05-24 12:27:05 -0500 (Thu, 24 May 2007)
New Revision: 9618

Modified:
   trunk/www/utils/sbin/update-downloads
Log:
Create Packages.gz for use of downlad directories as Debian repositories.


Modified: trunk/www/utils/sbin/update-downloads
===================================================================
--- trunk/www/utils/sbin/update-downloads       2007-05-24 17:20:56 UTC (rev 
9617)
+++ trunk/www/utils/sbin/update-downloads       2007-05-24 17:27:05 UTC (rev 
9618)
@@ -1,7 +1,8 @@
 #!/bin/bash -e
 
 # This script updates the "downloads/current" directory from the
-# "downloads/releases" directory.
+# "downloads/releases" directory and creates the index files for the debian
+# repository.
 
 cd /usr/local/www/gnue/htdocs/downloads/current && rm -f *
 
@@ -31,3 +32,8 @@
     fi
   done
 done
+
+# Update the Packages.gz files for the debian repository
+cd ..
+dpkg-scanpackages current /dev/null | gzip > current/Packages.gz
+dpkg-scanpackages prereleases /dev/null | gzip > prereleases/Packages.gz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]