Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28eb0ef2 authored by Alexandre Roux's avatar Alexandre Roux
Browse files

changing to sed

parent 7ab33ba6
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -64,6 +64,8 @@ RUN curl -sL ${GOOGLE_INTEGRATION_URL} | tar xzf - -C ${BASE_DIR}/custom_apps
RUN rm -rf ${BASE_DIR}/themes/Murena/* && \
    curl -sL ${SNAPPY_THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes/Murena/

#Workaround to fix line break when answering an email on firefox 
RUN sed -i 's/this.oEditor?.focus()/(this.oEditor?.focus(),navigator.userAgent.includes("Firefox")\&\&(window.getSelection().modify("move","forward","character"),window.getSelection().modify("move","backward","character")))/' ${BASE_DIR}/custom_apps/snappymail/app/snappymail/v/*/static/js/min/app.min.js

# Remove unzip when unzipping is done
RUN apt-get -y remove unzip
+0 −5

File deleted.

Preview size limit exceeded, changes collapsed.