mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
Use vi as the fallback editor on Fedora; vim not guaranteed to exist
This commit is contained in:
parent
0fbfcb4fdb
commit
eb75d7b2f7
@ -2603,6 +2603,8 @@ def get_default_editor():
|
||||
dist = platform.dist()[0]
|
||||
if dist == 'debian':
|
||||
return 'editor'
|
||||
else if dist == 'fedora':
|
||||
return 'vi'
|
||||
return 'vim'
|
||||
return 'vi'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user