apt: fix mark when no packages (#37835)
This commit is contained in:
parent
270e799cb6
commit
687f3bbef3
1 changed files with 3 additions and 0 deletions
|
@ -471,6 +471,9 @@ def parse_diff(output):
|
|||
|
||||
|
||||
def mark_installed_manually(m, packages):
|
||||
if not packages:
|
||||
return
|
||||
|
||||
apt_mark_cmd_path = m.get_bin_path("apt-mark", required=True)
|
||||
cmd = "%s manual %s" % (apt_mark_cmd_path, ' '.join(packages))
|
||||
rc, out, err = m.run_command(cmd)
|
||||
|
|
Loading…
Reference in a new issue