Skip to content

Commit

Permalink
Jessie's aptitude waits for interactive input (y/n prompt) when runni…
Browse files Browse the repository at this point in the history
…ng --simulate, this patch adds --assume-yes (work as well with apt-get even if unneeded for it)
  • Loading branch information
drousseau committed Mar 6, 2017
1 parent c3d10e0 commit bfb713e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpkg/apt-dater-host
Expand Up @@ -320,7 +320,7 @@ sub do_upgrade() {

# drop -y if any packages would be removed
if($ASSUMEYES) {
unless(open(HAPT, "$UpgradeCmd --simulate |")) {
unless(open(HAPT, "$UpgradeCmd --simulate --assume-yes |")) {
print "\nADPERR: Failed to execute '$UpgradeCmd --simulate' ($!).\n";
exit(1);
}
Expand Down

0 comments on commit bfb713e

Please sign in to comment.