summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xanaconda8
1 files changed, 6 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 85cffce06..8a8b27940 100755
--- a/anaconda
+++ b/anaconda
@@ -5,10 +5,14 @@ import lang
_=lang.gettext
-# fixme - first stage install passes --method
(args, extra) = getopt.getopt(sys.argv[1:], 'p:GTtdr:f',
[ 'gui', 'text', 'test', 'debug', 'rootpath=',
- 'testpath=', 'mountfs', 'method' ])
+ 'testpath=', 'mountfs' ])
+
+# remove the arguments - gnome_init doesn't understand them
+for arg in sys.argv[1:]:
+ sys.argv.remove (arg)
+sys.argc = 1
mode = None
test = 0