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',