diff options
author | 2016-10-29 10:37:43 -0700 | |
---|---|---|
committer | 2016-10-29 10:37:43 -0700 | |
commit | b56647901f57f3fbc21aac5ec73b04c3c65bd9a5 (patch) | |
tree | 322d36fc002c4d3f540ccc6b9dbcbed2053d5443 /thicken-manifests.py | |
parent | More Manifest mtime. (diff) | |
download | mastermirror-scripts-b56647901f57f3fbc21aac5ec73b04c3c65bd9a5.tar.gz mastermirror-scripts-b56647901f57f3fbc21aac5ec73b04c3c65bd9a5.tar.bz2 mastermirror-scripts-b56647901f57f3fbc21aac5ec73b04c3c65bd9a5.zip |
Revert "More Manifest mtime."
This reverts commit 959ee6a2c1d1cb275df9e2d4caed64a8a045cb88.
Diffstat (limited to 'thicken-manifests.py')
-rwxr-xr-x | thicken-manifests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/thicken-manifests.py b/thicken-manifests.py index b30f119..4da598a 100755 --- a/thicken-manifests.py +++ b/thicken-manifests.py @@ -126,8 +126,10 @@ def maybe_thicken_manifest(pkg_dir): return # If it changed, write it out if manifest.write(): - # portage says the manifest changed; bump the mtime by 1 to be safe - newest_mtime += 1 + if newest_mtime == manifest_mtime: + # portage says the manifest changed, but mtime is supposed to stay the same + # bump the mtime by 1 to be safe + newest_mtime += 1 if args.sign: try: gpg_sign(manifest.getFullname()) |