summaryrefslogtreecommitdiffstats
path: root/pyanaconda/desktop.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-09-07 10:38:44 -0400
committerChris Lumens <clumens@redhat.com>2010-09-07 10:45:17 -0400
commit91b23b3668bd81637ec9ccb08ce4947f5f9a7e82 (patch)
tree55bc77f72d5a2b5b2c70f9ee2d845dbd26c4178f /pyanaconda/desktop.py
parent11c71a20afc87d5a1c43ed56c281cfe30bdfe6c6 (diff)
downloadanaconda-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.py6
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)