--- pyanaconda/desktop.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyanaconda/desktop.py b/pyanaconda/desktop.py index 306e481..ed506d6 100644 --- a/pyanaconda/desktop.py +++ b/pyanaconda/desktop.py @@ -65,13 +65,13 @@ class Desktop (SimpleConfigFile): inittab.write (line) inittab.close () - if not os.path.isdir(instPath + '/etc/systemd/system'): - log.warning("there is no /etc/systemd/system directory, cannot update default.target!") + if not os.path.isdir(instPath + '/lib/systemd/system'): + log.warning("there is no /lib/systemd/system directory, cannot update default.target!") return - default_target = instPath + '/etc/systemd/system/default.target' + default_target = instPath + '/lib/systemd/system/default.target' if os.path.islink(default_target): os.unlink(default_target) - os.symlink('/etc/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target) + os.symlink('/lib/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target) if self.getDefaultDesktop(): f = open(instPath + "/etc/sysconfig/desktop", "w") -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list