Before installing HDD

This commit is contained in:
Geoffrey Frogeye 2020-05-03 13:24:45 +02:00
parent 6e701541ca
commit 4a8628231c
8 changed files with 151 additions and 30 deletions

View file

@ -39,7 +39,7 @@ then
echo "Done."
elif [ -f "$orig_path" ]
then
if [ "$(file --mime-type --brief $orig_path)" != "application/pdf" ]
if [ "$(file --mime-type --brief "$orig_path")" != "application/pdf" ]
then
echo "${orig_path}: not a PDF file"
exit 1