bundles/nodejs: only install nodesource packages if debian does not ship that version
This commit is contained in:
parent
a929f24977
commit
46e00d6fc8
2 changed files with 32 additions and 12 deletions
|
@ -2,8 +2,8 @@ actions = {
|
|||
'nodejs_install_yarn': {
|
||||
'command': 'npm install -g yarn@latest',
|
||||
'unless': 'test -e /usr/lib/node_modules/yarn',
|
||||
'needs': {
|
||||
'pkg_apt:nodejs',
|
||||
'after': {
|
||||
'pkg_apt:',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue