From d89533e22ebcf695fa7506465100ca351168909e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 30 Apr 2019 16:43:41 -0500 Subject: [PATCH] Fedora 30 support --- public/detect_linux.sh | 5 ++++- src/constants.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/detect_linux.sh b/public/detect_linux.sh index c3f7ed7..c20dcf0 100644 --- a/public/detect_linux.sh +++ b/public/detect_linux.sh @@ -18,7 +18,10 @@ if [ -f /etc/centos-release ]; then fi elif [ -f /etc/fedora-release ]; then . /etc/os-release - if [ "$VERSION_ID" == "29" ]; then + if [ "$VERSION_ID" == "30" ]; then + DISTNAME=fedora + DISTVER=30 + elif [ "$VERSION_ID" == "29" ]; then DISTNAME=fedora DISTVER=29 elif [ "$VERSION_ID" == "28" ]; then diff --git a/src/constants.js b/src/constants.js index 1bc3503..5dbb3e3 100644 --- a/src/constants.js +++ b/src/constants.js @@ -8,6 +8,7 @@ exports.DATA_LOCATIONS = { debian9: '~/.local/repertory/ui', fedora28: '~/.local/repertory/ui', fedora29: '~/.local/repertory/ui', + fedora30: '~/.local/repertory/ui', linux: '~/.local/repertory/ui', solus: '~/.local/repertory/ui', 'ubuntu18.04': '~/.local/repertory/ui',