I get an error when executing the command

  $ sudo tlp setcharge 40 60
/gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad: line 651: perl: command not found /gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad: line 1231: : : integer expression expected

It seems the TLP shell script is employing the wrong perl PATH, and if perl is not installed in the current prefix, it fails.

--
Gustavo



Reply via email to