File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ title: Linux Installation Guide
33hide_from_auto_list : true
44---
55
6+ {% assign latest_otd_version = site.data.otd-versions | last %}
7+
68## Ubuntu / Debian {#debian}
79
8- {% assign deb_filename = site.data.links.project.latestRelease.deb %}
10+ {% assign deb_filename = site.data.links.project.latestRelease.deb | replace: '{{VERSION}}', latest_otd_version %}
911
10121 . {% include latest-release.html filename=deb_filename %}
11132 . Run the following commands in a terminal
@@ -30,11 +32,13 @@ If you're experiencing `libhostfxr` issues, please see the solutions from Micros
3032
3133### Fedora {#fedora}
3234
33- 1. {% include latest-release.html filename=site.data.links.project.latestRelease.rpm %}
35+ {% assign rpm_filename = site.data.links.project.latestRelease.rpm | replace: ' {{VERSION}}' , latest_otd_version %}
36+
37+ 1. {% include latest-release.html filename=rpm_filename %}
34382. Install the package with the following command:
3539
3640 ```bash
37- sudo dnf install ./OpenTabletDriver.rpm
41+ sudo dnf install ./{{ rpm_filename }}
3842 ```
3943
4044 > This assumes that you are in the directory in which you downloaded OpenTabletDriver to.
You can’t perform that action at this time.
0 commit comments