Add osVersion parameter based on ImageOS env variable

This commit is contained in:
Denis Kulicek
2020-10-28 15:12:26 +01:00
parent 584173361f
commit d114e80cc4
5 changed files with 34 additions and 10 deletions

View File

@@ -22,9 +22,9 @@ async function installElixir(version, otpMajor) {
*
* @param {string} version
*/
async function installOTP(version) {
async function installOTP(version, osVersion) {
if (process.platform === 'linux') {
await exec(path.join(__dirname, 'install-otp'), [version])
await exec(path.join(__dirname, 'install-otp'), [version, osVersion])
return
}