summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorjakub <jakub>2000-01-10 13:56:56 +0000
committerjakub <jakub>2000-01-10 13:56:56 +0000
commit79b4b003cb0a88b4577cd249a61fd684bf3f4f48 (patch)
tree8d0f5a7b196fc269c1ca9e87f1795ebe7a09e573 /anaconda
parente72e153e1211696c216eb6f421aa25f8da717131 (diff)
downloadanaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.tar.gz
anaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.tar.xz
anaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.zip
Misc sparc fixes.
Use stripped down gzread to uncompress .mo files when loading them, so we don't have to gunzip them in the filesystem.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda9
1 files changed, 7 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index e9f1e790d..34a59c8fe 100755
--- a/anaconda
+++ b/anaconda
@@ -17,6 +17,8 @@ if (os.path.exists('rpmmodule')):
sys.path.append('gnome-map')
sys.path.append('isys')
+os.environ['HOME'] = '/tmp'
+
# Python passed my path as argv[0]!
# if sys.argv[0][-7:] == "syslogd":
if len(sys.argv) > 1:
@@ -226,7 +228,10 @@ if (display_mode == 'g' and not os.environ.has_key('DISPLAY')):
if (display_mode == 'g'):
if not test and not localInstall and not reconfigOnly:
for i in ( "imrc", "im_palette.pal", "gtk" ):
- os.symlink ("../mnt/source/RedHat/instimage/etc/" + i, "/etc/" + i)
+ try:
+ os.symlink ("../mnt/source/RedHat/instimage/etc/" + i, "/etc/" + i)
+ except:
+ pass
from gui import InstallInterface
elif (display_mode == 't'):
from text import InstallInterface
@@ -339,7 +344,7 @@ except:
from string import joinfields
list = traceback.format_exception (type, value, tb)
text = joinfields (list, "")
- rc = intf.exceptionWindow (_("Exception Occured"), text)
+ rc = intf.exceptionWindow (_("Exception Occurred"), text)
intf.__del__ ()
if rc:
import pdb