Skip to content

Commit

Permalink
v2.0.1 Prints dependency checks before tasks in verbose execution
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinus committed May 15, 2017
1 parent 4fa6952 commit 32c2711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdfScale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a


VERSION="2.0.0"
VERSION="2.0.1"


###################### EXTERNAL PROGRAMS #######################
Expand Down Expand Up @@ -78,7 +78,6 @@ EXIT_INVALID_PAPER_SIZE=50

# Main function called at the end
main() {
checkDeps
printPDFSizes
vprint " Input File: $INFILEPDF"
vprint " Output File: $OUTFILEPDF"
Expand Down Expand Up @@ -315,6 +314,7 @@ getOptions() {
isFile "$INFILEPDF" || initError "Input file not found: $INFILEPDF" $EXIT_FILE_NOT_FOUND

printVersion 1 'verbose'
checkDeps
if isMixedMode; then
vprint " Mixed Tasks: Resize & Scale"
isEmpty "$2" && OUTFILEPDF="${INFILEPDF%.pdf}.$(uppercase $RESIZE_PAPER_TYPE).SCALED.pdf"
Expand Down

0 comments on commit 32c2711

Please sign in to comment.