소스 검색

small fix to mdls fail detection

master
Gustavo Neves 8 년 전
부모
커밋
c26863f33e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      pdfScale.sh

+ 2
- 2
pdfScale.sh 파일 보기

@@ -175,9 +175,9 @@ getPageSizeMdls() {
identify=${identify//$'\t'/ } # change tab to space
identify=($identify) # make it an array

if [[ "${identify[5]}" = "(null)" || "${identify[5]}" = "(null)" ]] && isNotAdaptiveMode; then
if [[ "${identify[5]}" = "(null)" || "${identify[2]}" = "(null)" ]] && isNotAdaptiveMode; then
notAdaptiveFailed "There was no metadata to read from the file! Is Spotlight OFF?"
elif [[ "${identify[5]}" = "(null)" || "${identify[5]}" = "(null)" ]] && isAdaptiveMode; then
elif [[ "${identify[5]}" = "(null)" || "${identify[2]}" = "(null)" ]] && isAdaptiveMode; then
return $FALSE
fi



불러오는 중...
취소
저장