From f9044978dee8a6945c10fe562dc2f7eddb8b891a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agah=20=C3=96z?= Date: Mon, 8 Jun 2020 12:16:14 +0300 Subject: [PATCH] unregister gnome --- src/base/registration/registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/registration/registration.py b/src/base/registration/registration.py index 628b694..e32fa65 100644 --- a/src/base/registration/registration.py +++ b/src/base/registration/registration.py @@ -365,7 +365,7 @@ class Registration: self.logger.info("99-pardus-xfce.conf exists. Deleting file.") self.util.delete_file(pardus_xfce_path) - if self.desktop_env == "gnome": + if self.util.get_desktop_env() == "gnome": pardus_gnome_path = "/etc/gdm3/greeter.dconf-defaults" if not self.util.is_exist(pardus_gnome_path): self.logger.info("Gnome conf doesn't exist")