From d590bc814264bdaaa45d6c7a3caabfd552c5a1d8 Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 18 May 2023 12:15:31 +0200 Subject: Fix(hm/pkgs/scr/con2pdf): Actually create output directory --- home-manager/packages/scripts/apps/con2pdf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'home-manager') 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 -- cgit 1.4.1