Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script fails on Fedora Cinnamon #1440

Closed
daniel-ayers opened this issue Sep 18, 2022 · 1 comment
Closed

Install script fails on Fedora Cinnamon #1440

daniel-ayers opened this issue Sep 18, 2022 · 1 comment
Assignees
Labels

Comments

@daniel-ayers
Copy link

The install script fails on Fedora Cinnamon because the characters "-cinnamon" appear in the distro name, which is not expected by the regex in the script.

This is fixed by changing the regex as follows:

238c238
<     DIST_VERSION=$(echo $DISTRO_PKG | sed -r 's/.*fedora([[:alpha:]]+(-stream|-linux)?)?-release(-server|-workstation|-client|-common|-container|-kde|-cloud|-xfce)?-([0-9]+).*$/\4/')    
---
>     DIST_VERSION=$(echo $DISTRO_PKG | sed -r 's/.*fedora([[:alpha:]]+(-stream|-linux)?)?-release(-server|-workstation|-client|-common|-container|-kde|-cloud|-xfce|-cinnamon)?-([0-9]+).*$/\4/') 
@JesusPaz
Copy link
Contributor

changes can be found in this PR #1460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants