summaryrefslogtreecommitdiff
path: root/mirror-failure.py
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-18 13:41:18 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-19 18:50:05 +0100
commit1d838084dc775c0a4184edb4f3b9138903ac27fb (patch)
tree0a85e1cf02224ffe4d4fdd120b31f80e64b72a32 /mirror-failure.py
parentb8ef7ef414600109b931fc8eebb1dfafdfe390cd (diff)
use dpkg --merge-avail only if needed in apt-mark
Only "recent" versions of dpkg support stdin for merge instead of a file, so as a quick fix we delay calling it until we really need it which fixes most of the problem already. Checking for a specific dpkg version here is deemed too much work, just like using a temporary file here and depends a too high requirement for this minor usecase. After all, it didn't work at all before, so we break nobody here and can fix it if someone complains (with a patch).
Diffstat (limited to 'mirror-failure.py')
0 files changed, 0 insertions, 0 deletions