Template:COMMON DEBIAN VARS: Difference between revisions
From Variscite Wiki
(UNZIP_EXT: add logic to get UNZIP_EXT from RECOVERY_SD_NAME) |
No edit summary |
||
Line 24: | Line 24: | ||
--> {{#vardefine:DEFAULT_DTS|{{#replace:{{#var:DEFAULT_DTB}}|.dtb|.dts}}}} <!-- | --> {{#vardefine:DEFAULT_DTS|{{#replace:{{#var:DEFAULT_DTB}}|.dtb|.dts}}}} <!-- | ||
--> {{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!-- | --> {{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!-- | ||
--> {{#vardefine:UNZIP_EXT|{{#explode:{{#var:RECOVERY_SD_NAME}}|.|- | --> {{#vardefine:UNZIP_EXT|{{#explode:{{#var:RECOVERY_SD_NAME}}|.|-2}}.{{#explode:{{#var:RECOVERY_SD_NAME}}|.|-1}}}} <!-- Ugly, but considering a format like <release name>.<version>.<image format>.<zip format> | ||
--> {{#vardefine:TMPDIR|{{#var:TMPDIR|tmp}}}} <!-- | --> {{#vardefine:TMPDIR|{{#var:TMPDIR|tmp}}}} <!-- | ||
--> | --> | ||
</includeonly> | </includeonly> |