Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apt
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
42
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
APT Developers
apt
Commits
6e7c6c3f
Commit
6e7c6c3f
authored
15 years ago
by
Michael Vogt
Browse files
Options
Downloads
Patches
Plain Diff
* debian/apt.cron.daily:
- if the timestamp is too far in the future, delete it
parent
1d3235a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/apt.cron.daily
+7
-0
7 additions, 0 deletions
debian/apt.cron.daily
debian/changelog
+2
-0
2 additions, 0 deletions
debian/changelog
with
9 additions
and
0 deletions
debian/apt.cron.daily
+
7
−
0
View file @
6e7c6c3f
...
...
@@ -76,6 +76,13 @@ check_stamp()
#echo "stampfile: $1"
#echo "interval=$interval, now=$now, stamp=$stamp, delta=$delta"
# remove timestamps a day (or more) in the future and force re-check
if
[
$stamp
-gt
$((
$now
+
86400
))
]
;
then
echo
"WARNING: file
$stamp_file
has a timestamp in the future:
$stamp
"
rm
-f
"
$stamp_file
"
return
0
fi
if
[
$delta
-ge
$interval
]
;
then
return
0
fi
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
2
−
0
View file @
6e7c6c3f
...
...
@@ -37,6 +37,8 @@ apt (0.7.22) UNRELEASED; urgency=low
[ Michael Vogt ]
* honor the dpkg hold state in AutoInstOk (closes: #64141)
* debian/apt.cron.daily:
- if the timestamp is too far in the future, delete it
[ Julian Andres Klode ]
* apt-pkg/contrib/configuration.cc: Fix a small memory leak in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment