diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2021-04-23 11:39:15 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2021-04-23 12:26:46 +0200 |
commit | 64127478630b676838735b509fec5cdfa36874c8 (patch) | |
tree | 1c7bd0e0fd4c51f1d5a40e65de90535db9ed4a39 /apt-private | |
parent | 80dd1447595c536d31912c486ac5e96f983ccc7a (diff) |
2.3-only: Warn that the 0.1 protocol is deprecated
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-json-hooks.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-json-hooks.cc b/apt-private/private-json-hooks.cc index 957140525..acb9a3bf0 100644 --- a/apt-private/private-json-hooks.cc +++ b/apt-private/private-json-hooks.cc @@ -474,6 +474,7 @@ bool RunJsonHook(std::string const &option, std::string const &method, const cha if (strstr(line, "\"0.1\"")) { + _error->Warning("Hook %s uses deprecated 0.1 protocol", Opts->Value.c_str()); hookVersion = 0x010; } else if (strstr(line, "\"0.2\"")) |