diff options
author | Chris Lumens <clumens@redhat.com> | 2010-09-07 10:38:44 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-09-07 10:45:17 -0400 |
commit | 91b23b3668bd81637ec9ccb08ce4947f5f9a7e82 (patch) | |
tree | 55bc77f72d5a2b5b2c70f9ee2d845dbd26c4178f /pyanaconda/desktop.py | |
parent | 11c71a20afc87d5a1c43ed56c281cfe30bdfe6c6 (diff) | |
download | anaconda-91b23b3668bd81637ec9ccb08ce4947f5f9a7e82.tar.gz anaconda-91b23b3668bd81637ec9ccb08ce4947f5f9a7e82.tar.xz anaconda-91b23b3668bd81637ec9ccb08ce4947f5f9a7e82.zip |
Re-fix systemd default link (#627401, mschmidt).
Diffstat (limited to 'pyanaconda/desktop.py')
-rw-r--r-- | pyanaconda/desktop.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyanaconda/desktop.py b/pyanaconda/desktop.py index ed506d6fa..f9069ac08 100644 --- a/pyanaconda/desktop.py +++ b/pyanaconda/desktop.py @@ -65,10 +65,10 @@ class Desktop (SimpleConfigFile): inittab.write (line) inittab.close () - if not os.path.isdir(instPath + '/lib/systemd/system'): - log.warning("there is no /lib/systemd/system directory, cannot update default.target!") + if not os.path.isdir(instPath + '/etc/systemd/system'): + log.warning("there is no /etc/systemd/system directory, cannot update default.target!") return - default_target = instPath + '/lib/systemd/system/default.target' + default_target = instPath + '/etc/systemd/system/default.target' if os.path.islink(default_target): os.unlink(default_target) os.symlink('/lib/systemd/system/runlevel' + str(self.runlevel) + '.target', default_target) |