diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 14:11:33 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 14:11:33 +0200 |
commit | be10b19dbdd12eaafa7dce70fa9f4dbece00e823 (patch) | |
tree | e25847a6f915e427a7886d8a8756b3bbb4f7ef11 /pkgs/by-name/co/con2pdf | |
parent | build(treewide): Update (diff) | |
download | nixos-config-be10b19dbdd12eaafa7dce70fa9f4dbece00e823.tar.gz nixos-config-be10b19dbdd12eaafa7dce70fa9f4dbece00e823.zip |
fix(pkgs/con2pdf): Avoid using deprecated `convert` command
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/co/con2pdf/con2pdf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/co/con2pdf/con2pdf.sh b/pkgs/by-name/co/con2pdf/con2pdf.sh index 08bf8998..27c9d092 100755 --- a/pkgs/by-name/co/con2pdf/con2pdf.sh +++ b/pkgs/by-name/co/con2pdf/con2pdf.sh @@ -144,7 +144,7 @@ convert_images() { pdf_name="${pdf_name}_$(tr -dc 'A-Za-z0-9' </dev/urandom | head -c 25)" done dbg "using pdf_name: $pdf_name" - convert "$@" -compress jpeg -quality 100 "$output_dir/${pdf_name}.pdf" + magick convert "$@" -compress jpeg -quality 100 "$output_dir/${pdf_name}.pdf" } scan() { |