summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2024-05-16 18:31:09 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2024-05-16 18:55:28 +0200
commitd93fb1bd1008b376a536a4a82ba189742b47293c (patch)
tree11dfe54f5792fbc024cbef3038afb00e6bf547fc /pkgs/development/python-modules/python-openstackclient
parent33d1e753c82ffc557b4a585c77de43d4c922ebb5 (diff)
nixos/hardware/printers: fix ppdOptions of ensured printers
Commit a52e27d4f637854e81dfd51da3b29627f7374513 changed the `ensurePrinter` mechanism such that it uses `lib.cli.toGNUCommandLineShell` to assemble the `lpadmin` command line that creates the required printer. Before that commit, the command line contained single quotes (')to protect certain options from being (mis-)interpreted by the shell. The new mechanism no longer needs those quotes as `lib.cli.toGNUCommandLineShell` takes care of quoting/escaping. Unfortunatelly, the commit missed the quotes around the `-o` command line part. `lib.cli.toGNUCommandLineShell` now properly escapes those quotes, thereby including them in the effective command line arguments that are passed to `lpadmin`. The result is that no option is applied anymore. The commit at hand simply removes the superfluous quotes. With this change, options are again properly applied as before.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions