summaryrefslogtreecommitdiff
path: root/pwnlib/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'pwnlib/update.py')
-rw-r--r--pwnlib/update.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/pwnlib/update.py b/pwnlib/update.py
index dd8f0ed..4805bf7 100644
--- a/pwnlib/update.py
+++ b/pwnlib/update.py
@@ -117,15 +117,8 @@ def last_check():
def should_check():
"""Return True if we should check for an update"""
- filename = cache_file()
-
- if not filename:
- return False
-
- if disabled or read(filename).strip() == b'never':
- return False
-
- return time.time() > (last_check() + update_freq)
+ # Never check automatically for Debian
+ return False
def perform_check(prerelease=current_version.is_prerelease):
"""Perform the update check, and report to the user.