Before installing HDD
This commit is contained in:
parent
6e701541ca
commit
4a8628231c
8 changed files with 151 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue