File tree 4 files changed +1
-17
lines changed
4 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,11 @@ RUN apt -q update && apt -q -y upgrade
13
13
14
14
RUN echo "deb [trusted=yes] https://repository.dodeeric.be/apt/ /" > /etc/apt/sources.list.d/dodeeric.list
15
15
RUN apt -q -y install ca-certificates
16
- RUN apt -q update && apt -q -y install pdf2htmlex poppler-utils bc zip file ruby
17
- RUN gem install htmlentities
16
+ RUN apt -q update && apt -q -y install pdf2htmlex poppler-utils bc zip file
18
17
19
18
# Bash script
20
19
21
20
COPY ./pdf2epubEX /bin
22
- COPY ./xmlEscape.rb /bin
23
21
24
22
RUN mkdir /temp
25
23
WORKDIR /temp
Original file line number Diff line number Diff line change 65
65
title=" $pdftitle "
66
66
fi
67
67
fi
68
- title=` echo ${title} | ruby /bin/xmlEscape.rb`
69
68
70
69
if [ -z " $author " ] && [ -z " $pdfauthor " ] ; then
71
70
author=" None"
74
73
author=" $pdfauthor "
75
74
fi
76
75
fi
77
- author=` echo ${author} | ruby /bin/xmlEscape.rb`
78
76
79
77
if [ -z " $publisher " ] ; then
80
78
publisher=" None"
81
79
fi
82
- publisher=` echo ${publisher} | ruby /bin/xmlEscape.rb`
83
80
84
81
if [ -z " $year " ] ; then
85
82
year=" 1900"
86
83
fi
87
- year=` echo ${year} | ruby /bin/xmlEscape.rb`
88
84
89
85
if [ -z " $language " ] ; then
90
86
language=" en"
91
87
fi
92
- language=` echo ${language} | ruby /bin/xmlEscape.rb`
93
88
94
89
if [ -z " $isbn " ] ; then
95
90
isbn=" None"
96
91
fi
97
- isbn=` echo ${isbn} | ruby /bin/xmlEscape.rb`
98
92
99
93
if [ -z " $tags " ] ; then
100
94
tags=" None"
101
95
fi
102
- tags=` echo ${tags} | ruby /bin/xmlEscape.rb`
103
96
104
97
}
105
98
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments