Skip to content

Commit

Permalink
script file updated: default value available for all inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
dodeeric committed Jul 29, 2020
1 parent 7cb850b commit d6474af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pdf2epubEX.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ else
read -p "Author [Default: $pdfauthor]: " author
fi

read -p "Publisher: " publisher
read -p "Year: " year
read -p "Language: (e.g.: fr): " language
read -p "ISBN number: " isbn
read -p "Subject (e.g.: history): " tags
read -p "Publisher [Default: None]: " publisher
read -p "Year: [Default: 1900]" year
read -p "Language: (e.g.: fr) [Default: en]: " language
read -p "ISBN number [Default: None]: " isbn
read -p "Subject (e.g.: history) [Default: None]: " tags

if [ -z "$title" ] && [ -z "$pdftitle" ] ; then
title="None"
Expand All @@ -147,7 +147,7 @@ if [ -z "$year" ] ; then
fi

if [ -z "$language" ] ; then
language="None"
language="en"
fi

if [ -z "$isbn" ] ; then
Expand Down

0 comments on commit d6474af

Please sign in to comment.