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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.