From b19930c0c46fa4b064125f3c8caace2769b936b6 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 23 Jul 2017 10:22:28 -0400 Subject: Fixed update-deb Date format for deb source list file --- usr/share/doc/mirror/README.txt | 1 + usr/share/mirror/examples/deb/update-smith122deb.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 < 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 -- cgit