Ticket #1218: map_secondary_sdcard_navitmap_bin.xslt_android_path_fix.patch

File map_secondary_sdcard_navitmap_bin.xslt_android_path_fix.patch, 813 bytes (added by christoph thielecke, 6 years ago)

Fix paths of external sdcard on android

  • navit/xslt/map_secondary_sdcard_navitmap_bin.xslt

    old new  
    11<?xml version="1.0"?>
    22<xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude">
    33        <xsl:template match="/config/navit/mapset/xi:include">
    4                 <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap.bin" />
     4                <map type="binfile" enabled="yes" data="/mnt/extSdCardx/navit/navitmap.bin" />
    55                <xsl:text>&#x0A;                        </xsl:text>
    6                 <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap_002.bin" />
     6                <map type="binfile" enabled="yes" data="/mnt/extSdCard/navit/navitmap_002.bin" />
    77        </xsl:template>
    88</xsl:transform>