From 0d352f296c3c96e4f1bdbc40226d0418bf618220 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 12 Feb 2020 19:20:36 -0800 Subject: [PATCH] docs: update for centos rpm downloads --- ci/subst-release-info.py | 7 ++++++- docs/installation.markdown | 16 +++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ci/subst-release-info.py b/ci/subst-release-info.py index 529a90f0f..673fa8904 100755 --- a/ci/subst-release-info.py +++ b/ci/subst-release-info.py @@ -5,6 +5,7 @@ import sys def release_to_links(rel): source = None macos = None + centos = None fedora = None ubuntu = None windows = None @@ -23,7 +24,10 @@ def release_to_links(rel): elif ".tar.xz" in name: linux_bin = (url, name, tag_name) elif ".rpm" in name: - fedora = (url, name, tag_name) + if ('fedora' in name) or ('fc31' in name): + fedora = (url, name, tag_name) + if ('centos' in name) or ('el7' in name): + centos = (url, name, tag_name) elif "WezTerm-macos-" in name: macos = (url, name, tag_name) elif "WezTerm-windows-" in name: @@ -36,6 +40,7 @@ def release_to_links(rel): "ubuntu": ubuntu, "linux_bin": linux_bin, "fedora": fedora, + "centos": centos, "macos": macos, "windows": windows, "appimage": appimage, diff --git a/docs/installation.markdown b/docs/installation.markdown index 13241a234..bee8e4e1b 100644 --- a/docs/installation.markdown +++ b/docs/installation.markdown @@ -44,7 +44,7 @@ sudo apt install -y ./{{ ubuntu_stable_asset }} The CI system builds an `.rpm` file on Fedora 31. Download for Fedora -Nightly for Fedora +Nightly for Fedora ```bash sudo dnf install -y {{ fedora_stable }} @@ -53,6 +53,20 @@ sudo dnf install -y {{ fedora_stable }} * The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop` * Configuration instructions can be [found here](config/index.html) +## Installing on CentOS + +The CI system builds an `.rpm` file on CentOS 7. + + +Nightly for CentOS + +```bash +sudo dnf install -y {{ centos_stable }} +``` + +* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop` +* Configuration instructions can be [found here](config/index.html) + ## Installing on Linux via AppImage If you have some other Linux system, or otherwise prefer AppImage over your