about summary refs log tree commit diff stats
path: root/pkgs/by-name/co/con2pdf
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 14:11:33 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 14:11:33 +0200
commitbe10b19dbdd12eaafa7dce70fa9f4dbece00e823 (patch)
treee25847a6f915e427a7886d8a8756b3bbb4f7ef11 /pkgs/by-name/co/con2pdf
parentbuild(treewide): Update (diff)
downloadnixos-config-be10b19dbdd12eaafa7dce70fa9f4dbece00e823.tar.gz
nixos-config-be10b19dbdd12eaafa7dce70fa9f4dbece00e823.zip
fix(pkgs/con2pdf): Avoid using deprecated `convert` command
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/co/con2pdf/con2pdf.sh2
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() {