diff --git a/software/apt-lib.pl b/software/apt-lib.pl index 1f3ff9bed..54ea2f37c 100755 --- a/software/apt-lib.pl +++ b/software/apt-lib.pl @@ -19,9 +19,7 @@ local (@rv, @newpacks); # Build the command to run $ENV{'DEBIAN_FRONTEND'} = 'noninteractive'; -local $cmd = $apt_get_command eq "apt-get" ? - "$apt_get_command -y ".($force ? " --force-yes -f" : "")." install $update" : - "$apt_get_command -y".($force ? " -f" : "")." install $update"; +local $cmd = "$apt_get_command -y ".($force ? " -f" : "")." install $update"; $update = join(" ", map { quotemeta($_) } split(/\s+/, $update)); print "",&text('apt_install', "$cmd"),"
\n"; print "
";