Skip to content

Commit c50da90

Browse files
authored
Merge pull request #305 from gonX/fix-debian-and-fedora-filenames
Install/Linux: Adjust Debian and Fedora file names
2 parents 0d742d9 + cb4b37f commit c50da90

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

site/_wiki/Install/Linux.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ title: Linux Installation Guide
33
hide_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

1012
1. {% include latest-release.html filename=deb_filename %}
1113
2. 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 %}
3438
2. 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.

0 commit comments

Comments
 (0)