Further logging, finding pkg only return files

Important change, when we use `find` to locate pkgs. Now only files will be returned.
This commit is contained in:
Søren Theilgaard
2022-02-07 16:32:23 +01:00
parent c238f94a9b
commit ae3f711738
2 changed files with 9 additions and 3 deletions
+4
View File
@@ -207,8 +207,12 @@ else
displaynotification "$message" "Error installing $name" ERROR
fi
fi
printlog "File list: $(ls -lh "$archiveName")" ERROR
printlog "File type: $(file "$archiveName")" ERROR
cleanupAndExit 2 "Error downloading $downloadURL error:\n$logoutput" ERROR
fi
printlog "File list: $(ls -lh "$archiveName")" DEBUG
printlog "File type: $(file "$archiveName")" DEBUG
printlog "curl output was:\n$logoutput" DEBUG
fi