Simplify live condition
parent
d7ce6b1c3d
commit
3f0a7208a7
|
@ -91,8 +91,7 @@ class ManjaroHello():
|
||||||
self.builder.get_object("autostart").set_active(self.autostart)
|
self.builder.get_object("autostart").set_active(self.autostart)
|
||||||
|
|
||||||
# Live systems
|
# Live systems
|
||||||
if self.infos["live"]:
|
if self.infos["live"] and os.path.isfile("/usr/bin/calamares"):
|
||||||
if os.path.isfile("/usr/bin/calamares"):
|
|
||||||
self.builder.get_object("installlabel").set_visible(True)
|
self.builder.get_object("installlabel").set_visible(True)
|
||||||
self.builder.get_object("installgui").set_visible(True)
|
self.builder.get_object("installgui").set_visible(True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue