FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 03-02-2011, 11:54 AM
Radek Vykydal
 
Default Fix setting of loaderData->method from repo= cmdline option.

There was double "repo=" if branch. The second one (few lines
below the removed) is the right one.
---
loader/loader.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 737386c..f30adb9 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1060,8 +1060,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
} else if (!strcasecmp(k, "method")) {
logMessage(WARNING, "method= is deprecated. Please use repo= instead.");
loaderData->instRepo = g_strdup(v);
- } else if (!strcasecmp(k, "repo")) {
- loaderData->instRepo = g_strdup(v);
} else if (!strcasecmp(k, "stage2")) {
logMessage(WARNING, "stage2= is deprecated. Please use repo= instead.");
flags |= LOADER_FLAGS_ASKMETHOD;
--
1.7.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org