Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2022-05-16 08:23:15 +0000
committerGitHub <noreply@github.com>2022-05-16 10:23:15 +0200
commit8d4a62e504e98f89ad7b80850ac3b280af9a9b49 (patch)
tree91424b7ee29d0ebce07f59d98a532f2b71e0f1bf /archinstall/lib/profiles.py
parent960b48da5e03df5f003ac987a2d10e81fd35e40e (diff)
Add network-manager-applet to NetworkManager profile (#1120)
* Add network-manager-applet to NetworkManager profile * Converted _configuration.is_desktop_profile() into profile.is_desktop_profile Co-authored-by: Anton Hvornum <anton@hvornum.se>
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 33214ee8..a4fbe490 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -211,6 +211,10 @@ class Profile(Script):
def name(self) -> str:
return os.path.basename(self.profile)
+ @property
+ def is_desktop_profile(self) -> bool:
+ return is_desktop_profile(repr(self))
+
def install(self) -> ModuleType:
# Before installing, revert any temporary changes to the namespace.
# This ensures that the namespace during installation is the original initiation namespace.