diff options
author | Soispha <soispha@vhack.eu> | 2023-05-18 12:15:31 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-18 12:15:31 +0200 |
commit | d590bc814264bdaaa45d6c7a3caabfd552c5a1d8 (patch) | |
tree | 1c6336a4ca81f29c21fa82b080c919e4ad56e758 /home-manager | |
parent | Fix(hm/pkgs/scr/con2pdf): Typo (diff) | |
download | nixos-config-d590bc814264bdaaa45d6c7a3caabfd552c5a1d8.tar.gz nixos-config-d590bc814264bdaaa45d6c7a3caabfd552c5a1d8.zip |
Fix(hm/pkgs/scr/con2pdf): Actually create output directory
Diffstat (limited to '')
-rwxr-xr-x | home-manager/packages/scripts/apps/con2pdf | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/home-manager/packages/scripts/apps/con2pdf b/home-manager/packages/scripts/apps/con2pdf index ae6d06bd..857aa3a6 100755 --- a/home-manager/packages/scripts/apps/con2pdf +++ b/home-manager/packages/scripts/apps/con2pdf @@ -65,12 +65,9 @@ scan() { fi done + mkdir "$output_directory"; cd "$output_directory" || die "Bug" - # mk pdf - mkdir pdfs; - cd ./pdfs/ || die "Bug" - counter=0; while read -r scanned_image_a;do if [ "$number_of_pages" -ne 1 ];then |