diff --git a/dist/index.js b/dist/index.js index 3a40ec0..ca84006 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30201,7 +30201,7 @@ function prepareFpmArgs() { } async function installFpmViaRuby(debug) { - const aptCmd = 'sudo apt-get install ruby'; + const aptCmd = 'sudo apt-get install -y ruby'; const gemCmd = 'sudo gem install fpm'; if (debug) { console.log('ruby install command: ', rubyCmd); diff --git a/src/lib.js b/src/lib.js index 1802d2d..08195c2 100644 --- a/src/lib.js +++ b/src/lib.js @@ -7,7 +7,7 @@ export function prepareFpmArgs() { } export async function installFpmViaRuby(debug) { - const aptCmd = 'sudo apt-get install ruby'; + const aptCmd = 'sudo apt-get install -y ruby'; const gemCmd = 'sudo gem install fpm'; if (debug) { console.log('ruby install command: ', rubyCmd);