Commit 978b3f59 authored by Robey Pointer's avatar Robey Pointer
Browse files

Remove eazel-install's restrictions on doing an upgrade and downgrade at

	* components/services/install/command-line/eazel-alt-install-corba.
	c: (set_parameters_from_command_line), (main):

	Remove eazel-install's restrictions on doing an upgrade and
	downgrade at the same time, since it's perfectly capable of doing
	that (covering all bases) and it's useful to labs.
parent 03be0763
2001-02-22 Robey Pointer <robey@eazel.com>
reviewed by: Stephane Miller <stephane@eazel.com>
* components/services/install/command-line/eazel-alt-install-corba.
c: (set_parameters_from_command_line), (main):
Remove eazel-install's restrictions on doing an upgrade and
downgrade at the same time, since it's perfectly capable of doing
that (covering all bases) and it's useful to labs.
2001-02-22 Arlo Rose <arlo@eazel.com>
* icons/druid_header.png:
......
......@@ -177,8 +177,8 @@ set_parameters_from_command_line (GNOME_Trilobite_Eazel_Install service)
GNOME_Trilobite_Eazel_Install__set_protocol (service, GNOME_Trilobite_Eazel_PROTOCOL_HTTP, &ev);
check_ev ("set_protocol");
}
if (arg_downgrade + arg_upgrade + arg_erase +arg_revert > 1) {
fprintf (stderr, "*** Upgrade, downgrade, revert and erase ? This is not a all-in-one tool");
if (arg_erase + arg_revert > 1) {
fprintf (stderr, "*** Erase and revert ? Somebody set us up the bomb!\n");
exit (1);
}
if (arg_upgrade) {
......@@ -959,7 +959,7 @@ int main(int argc, char *argv[]) {
GTK_SIGNAL_FUNC (done),
problem);
if (arg_erase + arg_query + arg_downgrade + arg_upgrade + arg_revert > 1) {
if (arg_erase + arg_query + arg_revert > 1) {
g_error ("Only one operation at a time please.");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment