bundles/apt: symlink /usr/bin/python to python3
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
e51e1113bb
commit
df137f73a6
1 changed files with 9 additions and 0 deletions
|
@ -152,6 +152,15 @@ pkg_apt = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if node.os_version[0] >= 11:
|
||||||
|
symlinks = {
|
||||||
|
'/usr/bin/python': {
|
||||||
|
'target': '/usr/bin/python3',
|
||||||
|
'needs': {
|
||||||
|
'pkg_apt:python3',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
for name, data in node.metadata.get('apt/repos', {}).items():
|
for name, data in node.metadata.get('apt/repos', {}).items():
|
||||||
files['/etc/apt/sources.list.d/{}.list'.format(name)] = {
|
files['/etc/apt/sources.list.d/{}.list'.format(name)] = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue