add missing confirm for apt ruby install

This commit is contained in:
davidhiendl committed 2024-01-19 14:31:41 +01:00
1 parent f877ba8d15
commit 2b45de9515
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -30201,7 +30201,7 @@ function prepareFpmArgs() {
} }
async function installFpmViaRuby(debug) { 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'; const gemCmd = 'sudo gem install fpm';
if (debug) { if (debug) {
console.log('ruby install command: ', rubyCmd); console.log('ruby install command: ', rubyCmd);
+1 -1
View File
@@ -7,7 +7,7 @@ export function prepareFpmArgs() {
} }
export async function installFpmViaRuby(debug) { 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'; const gemCmd = 'sudo gem install fpm';
if (debug) { if (debug) {
console.log('ruby install command: ', rubyCmd); console.log('ruby install command: ', rubyCmd);