Closed webknjaz closed 2 years ago
Interesting. I wonder why this worked fine before.
Thanks for the fix.
I wonder why this worked fine before.
Maybe because you used Mac on the control node and I use Gentoo? I could imagine them treating line separators differently (LF
vs CR+LF
). If Mac produces line\r
but Linux splits lines with \n
, this is exactly what would happen...
The regexp that inspects the
softwareupdate -l
output returns a string terminated by\r
which breaks the install command when it's passed there. This patch fixes the problem by stripping off any whitespace characters around the package name.