mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
[displaymanager] Treat openSUSE sysconfig like anything else
This commit is contained in:
parent
d592a5bb94
commit
b00335f5b3
1 changed files with 7 additions and 0 deletions
|
@ -850,6 +850,13 @@ class DMsysconfig(DisplayManager):
|
|||
def greeter_setup(self):
|
||||
pass
|
||||
|
||||
# For openSUSE-derivatives, there is only sysconfig to configure,
|
||||
# and no special DM configuration for it. Instead, check that
|
||||
# sysconfig is available in the target.
|
||||
def have_dm(self):
|
||||
config = "{!s}/etc/sysconfig/displaymanager".format(self.root_mount_point)
|
||||
return os.path.exists(config)
|
||||
|
||||
|
||||
# Collect all the subclasses of DisplayManager defined above,
|
||||
# and index them based on the name property of each class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue