diff options
author | 2023-08-26 16:01:54 +0600 | |
---|---|---|
committer | 2023-08-26 16:01:54 +0600 | |
commit | 22b47d8f27c3d4558f1df2d79cad7a63fd7cc871 (patch) | |
tree | 4f9e55dec008a3f1de61cabfb577fe254ae6e36e /debian/patches/fix-high-trust-pkcompat.diff | |
parent | 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (diff) | |
download | aptdaemon-22b47d8f27c3d4558f1df2d79cad7a63fd7cc871.tar.gz aptdaemon-22b47d8f27c3d4558f1df2d79cad7a63fd7cc871.zip |
Drop unused patches
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/fix-high-trust-pkcompat.diff | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/debian/patches/fix-high-trust-pkcompat.diff b/debian/patches/fix-high-trust-pkcompat.diff deleted file mode 100644 index 6084b5c..0000000 --- a/debian/patches/fix-high-trust-pkcompat.diff +++ /dev/null @@ -1,16 +0,0 @@ -Index: aptdaemon/aptdaemon/worker/aptworker.py -=================================================================== ---- aptdaemon.orig/aptdaemon/worker/aptworker.py -+++ aptdaemon/aptdaemon/worker/aptworker.py -@@ -113,8 +113,10 @@ def trans_only_installs_pkgs_from_high_t - # paranoia(2): we must want to install something - if not trans.packages[PKGS_INSTALL]: - return False -+ # we only care about the name, not the version -+ pkgs = [pkg.split("=")[0] for pkg in trans.packages[PKGS_INSTALL]] - # if the install packages matches the whitelisted set we are good -- return set(trans.packages[PKGS_INSTALL]) == set(trans.high_trust_packages) -+ return set(pkgs) == set(trans.high_trust_packages) - - - def read_high_trust_repository_dir(whitelist_cfg_d): |