plasma-pstate
plasma-pstate copied to clipboard
Update to set_prefs.sh to fix check_nvidia
I found when running the new code I got this error ...
awk: line 0: regular expression compile failed (missing '(')
):
By escaping the ")" it fixed the issue for me
Haven't checked this with anything but my system (Dell XPS 9570 / KDE Neon) but it did fix it :+1:
$ awk -W version
mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
compiled limits:
max NF 32767
sprintf buffer 2040
Thanks for all the work you've done on this project it's been super useful
Well, it seems you are using mawk and not gawk. My system (also KDE Neon) uses gawk and I'm pretty sure this is the default. Could you please run sudo update-alternatives --config awk
and choose gawk? That will fix your issue.
PS: I'm not merging your patch for now, as in most systems gawk should be the default :. Let's wait for a couple of more days to hear from other people as well.