From b382ce87c367a1b8eab9ccaaa0275e270f7153e5 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 18 Apr 2019 22:42:14 -0500 Subject: [PATCH] Fix platform detection --- CHANGELOG.md | 1 + README.md | 1 + public/detect_linux.sh | 3 +++ src/constants.js | 1 + 4 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dc8548..75d8caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Bodhi 5.0.0 * Debian 9 * Elementary OS 5.0 + * Fedora 28 * Fedora 29 * Linux Mint 19 * Linux Mint 19.1 diff --git a/README.md b/README.md index c2dcdc9..4dfa99d 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Repertory allows you to mount Sia and/or SiaPrime blockchain storage solutions v * Bodhi 5.0.0 * Debian 9 * Elementary OS 5.0 + * Fedora 28 * Fedora 29 * Linux Mint 19 * Linux Mint 19.1 diff --git a/public/detect_linux.sh b/public/detect_linux.sh index 8ff413a..1fdd709 100644 --- a/public/detect_linux.sh +++ b/public/detect_linux.sh @@ -35,6 +35,9 @@ elif [ -f /etc/os-release ]; then if [ "$VERSION_ID" == "29" ]; then DISTNAME=fedora DISTVER=29 + elif [ "$VERSION_ID" == "28" ]; then + DISTNAME=fedora + DISTVER=28 fi fi fi diff --git a/src/constants.js b/src/constants.js index 7d4f08d..89cc57c 100644 --- a/src/constants.js +++ b/src/constants.js @@ -5,6 +5,7 @@ exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/1.0.0-b exports.DATA_LOCATIONS = { arch: '~/.local/repertory/ui', debian9: '~/.local/repertory/ui', + fedora28: '~/.local/repertory/ui', fedora29: '~/.local/repertory/ui', linux: '~/.local/repertory/ui', solus: '~/.local/repertory/ui',