Skip to content

Commit 04ddd88

Browse files
committed
Fixes flags for only installing recommended updates
1 parent 9621a2d commit 04ddd88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9696
{
9797
// Install all the updates at once
9898
$noscan = $this->isNoScan() ? ' --no-scan' : null;
99-
$switches = $this->isRecommended() ? ['a', 'r', 'R'] : ['a', 'R'];
99+
$switches = $this->isRecommended() ? ['r', 'R'] : ['a', 'R'];
100100

101101
$this->io()->msgln('Downloading and installing updates. The system will restart when appropriate.');
102102
$cmd = sprintf('%s --install -%s%s', $this->getSoftwareUpdate(), implode(' ', $switches), $noscan);

0 commit comments

Comments
 (0)