From b1d471fac4fc58d7405e0cdf71a0e8e9db216236 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 27 May 2016 15:08:57 -0700 Subject: [PATCH] --force-yes is deprecated, and apparently dangerour --- software/apt-lib.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 "

";