Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-08 07:23:37 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-08 07:23:37 +0530
commit78d58eb4b7403449e9f854dea43c46d1fc3b1179 (patch)
tree733df5c3bfc7c064831df4b77500008c3a71476d /profiles
parent8ad22004414f141897bbfe959b4864ffc29070a1 (diff)
removed post_install hook
Diffstat (limited to 'profiles')
-rw-r--r--profiles/kde.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/profiles/kde.py b/profiles/kde.py
index 0207ed22..2c4cefb9 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -20,7 +20,7 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
-def _post_install(*args, **kwargs):
+""" def _post_install(*args, **kwargs):
if "nvidia" in _gfx_driver_packages:
print("Plasma Wayland has known compatibility issues with the proprietary Nvidia driver")
choice = input("Would you like plasma-wayland to be the default session [Y/n] ").lower()
@@ -28,6 +28,8 @@ def _post_install(*args, **kwargs):
installation.arch_chroot("mv /usr/share/xsessions/plasma.desktop /usr/share/xsessions/plasmax11.desktop")
installation.arch_chroot("mv /usr/share/wayland-sessions/plasmawayland.desktop /usr/share/wayland-sessions/plasma.desktop")
return True
+As Dylan pointed out this could break things in a update lets just stick to defaults for now
+"""
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("kde", "/somewhere/kde.py")
# or through conventional import kde