diff options
author | B Stack <bgstack15@gmail.com> | 2017-07-23 10:22:28 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2017-07-23 10:22:28 -0400 |
commit | b19930c0c46fa4b064125f3c8caace2769b936b6 (patch) | |
tree | 024ca0b5037256d2659da2ab4c345580e6044d31 | |
parent | updated deploy.conf to include tar repo (diff) | |
download | mirror-b19930c0c46fa4b064125f3c8caace2769b936b6.tar.gz mirror-b19930c0c46fa4b064125f3c8caace2769b936b6.tar.bz2 mirror-b19930c0c46fa4b064125f3c8caace2769b936b6.zip |
Fixed update-deb Date format for deb source list file
-rw-r--r-- | usr/share/doc/mirror/README.txt | 1 | ||||
-rwxr-xr-x | usr/share/mirror/examples/deb/update-smith122deb.sh | 3 |
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 |