package.c (17380) | package.c (17404) |
---|---|
1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * | 1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * |
7 * $Id: package.c,v 1.43 1996/07/10 11:38:28 jkh Exp $ | 7 * $Id: package.c,v 1.44 1996/08/01 12:35:51 jkh Exp $ |
8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 166 unchanged lines hidden (view full) --- 182 msgNotify("Package %s was added successfully", name); 183 sleep(1); 184 restorescr(w); 185 sigpipe_caught = FALSE; 186 } 187 } 188 else { 189 msgDebug("pkg_extract: get operation returned %d\n", fd); | 8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 166 unchanged lines hidden (view full) --- 182 msgNotify("Package %s was added successfully", name); 183 sleep(1); 184 restorescr(w); 185 sigpipe_caught = FALSE; 186 } 187 } 188 else { 189 msgDebug("pkg_extract: get operation returned %d\n", fd); |
190 dialog_clear(); | 190 dialog_clear_norefresh(); |
191 if (variable_get(VAR_NO_CONFIRM)) 192 msgNotify("Unable to fetch package %s from selected media.\n" 193 "No package add will be done.", name); 194 else { 195 msgConfirm("Unable to fetch package %s from selected media.\n" 196 "No package add will be done.", name); 197 } 198 ret = DITEM_FAILURE | DITEM_RESTORE; 199 } 200 return ret; 201} | 191 if (variable_get(VAR_NO_CONFIRM)) 192 msgNotify("Unable to fetch package %s from selected media.\n" 193 "No package add will be done.", name); 194 else { 195 msgConfirm("Unable to fetch package %s from selected media.\n" 196 "No package add will be done.", name); 197 } 198 ret = DITEM_FAILURE | DITEM_RESTORE; 199 } 200 return ret; 201} |