Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Eliab Andi Artz
package-helpers
Commits
c98d6244
Commit
c98d6244
authored
1 year ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
update-manager: add method to always show available updates
parent
a600bcca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/DATA/update-manager/prevent-autoconnection.patch
+14
-1
14 additions, 1 deletion
helpers/DATA/update-manager/prevent-autoconnection.patch
helpers/make-update-manager
+1
-1
1 addition, 1 deletion
helpers/make-update-manager
with
15 additions
and
2 deletions
helpers/DATA/update-manager/prevent-autoconnection.patch
+
14
−
1
View file @
c98d6244
...
...
@@ -37,7 +37,7 @@ diff -ru source.orig/UpdateManager/UpdateManager.py source/UpdateManager/UpdateM
self.start_available()
def start_update(self):
+ if apt_pkg.config.find_i("APT::Periodic::Update-Package-Lists") == 0:
+ if
not self.options.no_check_screen and
apt_pkg.config.find_i("APT::Periodic::Update-Package-Lists") == 0:
+ self._start_pane(ShouldUpdateDialog(self))
+ return
+ if self.options.no_update:
...
...
@@ -51,3 +51,16 @@ diff -ru source.orig/UpdateManager/UpdateManager.py source/UpdateManager/UpdateM
if self.options.no_update:
self.start_available()
return
diff -ru source.orig/update-manager source/update-manager
--- source.orig/update-manager 2023-04-30 19:59:16.611564826 -0400
+++ source/update-manager 2023-04-30 20:10:25.515512178 -0400
@@ -92,6 +92,9 @@
parser.add_option ("--no-update", action="store_true",
dest="no_update", default=False,
help=_("Do not check for updates when starting"))
+ parser.add_option ("--no-check-screen", action="store_true",
+ dest="no_check_screen", default=True,
+ help=_("Don't show screen preventing unwanted connections to the Internet"))
parser.add_option ("", "--debug", action="store_true", default=False,
help=_("Show debug messages"))
This diff is collapsed.
Click to expand it.
helpers/make-update-manager
+
1
−
1
View file @
c98d6244
#!/bin/sh
#
# Copyright (C) 2008-202
0
Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2008-202
3
Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2023 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
#
...
...
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