diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-13 23:09:18 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-13 23:09:18 +0000 |
commit | 10824d3e5004c5b3ec5c7b9a4444016097746470 (patch) | |
tree | 523ae35ec58107a3e2a34bcf0becf2be8a9f51c7 /anaconda | |
parent | de43b6f4afd0664e6cba0e7dd7db4705bbf4b8b6 (diff) | |
download | anaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.tar.gz anaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.tar.xz anaconda-10824d3e5004c5b3ec5c7b9a4444016097746470.zip |
symlinks for services, protocol, nsswitch.conf in all modes
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -532,13 +532,19 @@ import configFileData configFile = configFileData.configFileData() configFileData = configFile.getConfigData() +# setup links required for all install types +for i in ( "services", "protocol", "nsswitch.conf"): + try: + os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i) + except: + pass + # # setup links required by graphical mode if installing and verify display mode # if (display_mode == 'g'): if not flags.test and flags.setupFilesystems: - for i in ( "imrc", "im_palette.pal", "gtk-2.0", "services", - "protocol", "pango", "nsswitch.conf", "fonts"): + for i in ( "imrc", "im_palette.pal", "gtk-2.0", "pango", "fonts"): try: os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i) except: |