mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
Do not run local handling fix if local parameter is not found.
Fixes: 7042 Signed-off-by: Warren Usui <warren.usui@inktank.com>
This commit is contained in:
parent
dbcef31ba0
commit
37815b76d3
@ -350,9 +350,10 @@ def _update_deb_package_list_and_install(ctx, remote, debs, config):
|
||||
stdout=StringIO(),
|
||||
)
|
||||
ldir = _get_local_dir(ctx, remote)
|
||||
for fyle in os.listdir(ldir):
|
||||
fname = "%s/%s" % (ldir, fyle)
|
||||
remote.run(args=['sudo', 'dpkg', '-i', fname],)
|
||||
if ldir:
|
||||
for fyle in os.listdir(ldir):
|
||||
fname = "%s/%s" % (ldir, fyle)
|
||||
remote.run(args=['sudo', 'dpkg', '-i', fname],)
|
||||
|
||||
|
||||
def _yum_fix_repo_priority(remote, project, uri):
|
||||
|
Loading…
Reference in New Issue
Block a user