Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/xfce4.py
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/xfce4.py')
-rw-r--r--profiles/xfce4.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/profiles/xfce4.py b/profiles/xfce4.py
index 43da23ac..ad00c461 100644
--- a/profiles/xfce4.py
+++ b/profiles/xfce4.py
@@ -1,4 +1,3 @@
-
# A desktop environment using "Xfce4"
import archinstall
@@ -7,6 +6,7 @@ is_top_level_profile = False
__packages__ = ["xfce4", "xfce4-goodies", "lightdm", "lightdm-gtk-greeter"]
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -23,6 +23,7 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("xfce4", "/somewhere/xfce4.py")
# or through conventional import xfce4
@@ -33,4 +34,4 @@ if __name__ == 'xfce4':
# Install the XFCE4 packages
archinstall.storage['installation_session'].add_additional_packages(__packages__)
- archinstall.storage['installation_session'].enable_service('lightdm') # Light Display Manager
+ archinstall.storage['installation_session'].enable_service('lightdm') # Light Display Manager