Fix MIMETYPE variable:

An ending double quote was missing, and consecutive semicolons
were generated: update-desktop-database does not like empty
MIME types.
This commit is contained in:
Pierre Labastie 2021-09-08 15:20:01 +02:00
parent 78b2022092
commit c78bc34f49
2 changed files with 4 additions and 4 deletions

View File

@ -502,9 +502,9 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
mkdir -pv /usr/share/pixmaps &amp;&amp;
MIMETYPE="text/xml;text/mml;text/html;" &amp;&amp;
MIMETYPE="text/xml;text/mml;text/html" &amp;&amp;
MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" &amp;&amp;
MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https; &amp;&amp;
MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https" &amp;&amp;
cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; EOF &amp;&amp;
<literal>[Desktop Entry]

View File

@ -500,9 +500,9 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &amp;&amp;
<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
mkdir -pv /usr/share/pixmaps &amp;&amp;
MIMETYPE="text/xml;text/mml;text/html;" &amp;&amp;
MIMETYPE="text/xml;text/mml;text/html" &amp;&amp;
MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" &amp;&amp;
MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https; &amp;&amp;
MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https" &amp;&amp;
cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; EOF &amp;&amp;
<literal>[Desktop Entry]