Skip to content

Commit

Permalink
Add support for Slowroll
Browse files Browse the repository at this point in the history
  • Loading branch information
asdil12 committed Dec 5, 2023
1 parent 275c41b commit 202eba6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ def get_distribution(prefix=False, use_releasever_variable=False):
if version:
# strip prerelease suffix (eg. ' Alpha')
version = version.split(' ', 1)[0]
if name == 'openSUSE Tumbleweed' or name == 'openSUSE MicroOS':
if name in ('openSUSE Tumbleweed', 'openSUSE MicroOS'):
project = 'openSUSE:Factory'
elif name in ('openSUSE Tumbleweed-Slowroll', 'openSUSE MicroOS-Slowroll'):
project = 'openSUSE:Slowroll'
elif name == 'openSUSE Leap':
if use_releasever_variable:
project = 'openSUSE:Leap:$releasever'
Expand Down

0 comments on commit 202eba6

Please sign in to comment.