summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-28 10:02:21 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-28 10:02:21 +0000
commite292d64180546097aedf5a26bb0045d85a42947f (patch)
tree8ad53575fdf1d6a49ea0d22d6b9a46636ed72240
parentc2742a3d34d1104fa929ee533ddcf6294615f33d (diff)
downloaddrakx-backup-do-not-use-e292d64180546097aedf5a26bb0045d85a42947f.tar
drakx-backup-do-not-use-e292d64180546097aedf5a26bb0045d85a42947f.tar.gz
drakx-backup-do-not-use-e292d64180546097aedf5a26bb0045d85a42947f.tar.bz2
drakx-backup-do-not-use-e292d64180546097aedf5a26bb0045d85a42947f.tar.xz
drakx-backup-do-not-use-e292d64180546097aedf5a26bb0045d85a42947f.zip
use thirdparty mode if the "thirdparty" automatic keyword is specified
-rw-r--r--mdk-stage1/tools.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 4f4bff8bb..55db7b158 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -117,7 +117,11 @@ void process_cmdline(void)
break;
i++;
}
-
+
+ if (IS_AUTOMATIC && strcmp(get_auto_value("thirdparty"), "")) {
+ set_param(MODE_THIRDPARTY);
+ }
+
log_message("\tgot %d args", param_number);
}