From cd979b108acf532b70c41aa431215556ed1e75ae Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 12 Jul 1999 21:14:44 +0000 Subject: remove arguments from argv so gnome doesn't bitch --- anaconda | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'anaconda') 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 -- cgit