summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/share/doc/mirror/README.txt1
-rwxr-xr-xusr/share/mirror/examples/deb/update-smith122deb.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/usr/share/doc/mirror/README.txt b/usr/share/doc/mirror/README.txt
index b039e76..0c71aa3 100644
--- a/usr/share/doc/mirror/README.txt
+++ b/usr/share/doc/mirror/README.txt
@@ -133,3 +133,4 @@ Changed deploy.conf to use package directories for deployment
- Fixed local_mirror httpd conf to include "AddIcon deb.png."
- Fixed deb and rpm icons to have transparent backgrounds.
- Added the tar repo to deploy.conf.
+- Fixed deb source Date: format.
diff --git a/usr/share/mirror/examples/deb/update-smith122deb.sh b/usr/share/mirror/examples/deb/update-smith122deb.sh
index b51a203..5ccf430 100755
--- a/usr/share/mirror/examples/deb/update-smith122deb.sh
+++ b/usr/share/mirror/examples/deb/update-smith122deb.sh
@@ -11,11 +11,12 @@ dpkg-scanpackages -m . > Packages
cat Packages | gzip -9c > Packages.gz
# create the Release file
+#Date: $(date -R)
PKGS=$(wc -c Packages)
PKGS_GZ=$(wc -c Packages.gz)
cat <<EOF > Release
Architectures: all
-Date: $(date -R)
+Date: $(date -u '+%a, %d %b %Y %T %Z')
MD5Sum:
$(md5sum Packages | cut -d" " -f1) $PKGS
$(md5sum Packages.gz | cut -d" " -f1) $PKGS_GZ
bgstack15