displaymanager: Don't run xdg-icon-resource and update-desktop-database.
Don't run xdg-icon-resource and update-desktop-database in the basic setup for KDM. These tools have absolutely nothing to do with KDM. KDM does not ship any icons in the hicolor theme, nor a .desktop file (let alone one that handles any MIME type, the only case in which update-desktop-database is needed). I know the original shell script from Manjaro called these when setting up KDM, but this is really the wrong place. If you need to call these, they need to go into another module, and you also have to call them independently of the selected display manager.
This commit is contained in:
parent
a0bb108486
commit
a54067f709
@ -326,9 +326,6 @@ def run():
|
||||
'/var/lib/kdm', '-s', '/bin/false', '-r', '-M', 'kdm'])
|
||||
libcalamares.utils.chroot_call(
|
||||
['chown', '-R', '135:135', 'var/lib/kdm'])
|
||||
libcalamares.utils.chroot_call(
|
||||
['xdg-icon-resource', 'forceupdate', '--theme', 'hicolor'])
|
||||
libcalamares.utils.chroot_call(['update-desktop-database', '-q'])
|
||||
else:
|
||||
libcalamares.utils.debug("kdm selected but not installed")
|
||||
displaymanagers.remove("kdm")
|
||||
|
Loading…
Reference in New Issue
Block a user