Ignore:
Timestamp:
08/31/2021 08:39:20 PM (3 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
70d859c8
Parents:
b2054970
Message:

Fix up MimeType entries in .desktop instructions
We aso had a sed in the Makefile that changes text/html.
I changed that to only look at the top 20 lines of each page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox-legacy.xml

    rb2054970 r28909b72  
    503503mkdir -pv /usr/share/pixmaps &amp;&amp;
    504504
    505 cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; "EOF" &amp;&amp;
     505MIMETYPE="text/xml;text/mml;text/html;"                                    &amp;&amp;
     506MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" &amp;&amp;
     507MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https;          &amp;&amp;
     508
     509cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; EOF &amp;&amp;
    506510<literal>[Desktop Entry]
    507511Encoding=UTF-8
     
    514518Icon=firefox
    515519Categories=GNOME;GTK;Network;WebBrowser;
    516 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
     520MimeType=$MIMETYPE
    517521StartupNotify=true</literal>
    518522EOF
     523
     524unset MIMETYPE &amp;&amp;
    519525
    520526ln -sfv /usr/lib/firefox/browser/chrome/icons/default/default128.png \
Note: See TracChangeset for help on using the changeset viewer.