perform.c (41530) | perform.c (41866) |
---|---|
1#ifndef lint 2static const char rcsid[] = | 1#ifndef lint 2static const char rcsid[] = |
3 "$Id: perform.c,v 1.45 1998/09/11 07:26:57 jkh Exp $"; | 3 "$Id: perform.c,v 1.46 1998/12/05 06:28:58 asami Exp $"; |
4#endif 5 6/* 7 * FreeBSD install - a package for the installation and maintainance 8 * of non-core utilities. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 139 unchanged lines hidden (view full) --- 151 add_plist(&plist, PLIST_IGNORE, NULL); 152 add_plist(&plist, PLIST_FILE, DESC_FNAME); 153 154 if (Install) { 155 copy_file(home, Install, INSTALL_FNAME); 156 add_plist(&plist, PLIST_IGNORE, NULL); 157 add_plist(&plist, PLIST_FILE, INSTALL_FNAME); 158 } | 4#endif 5 6/* 7 * FreeBSD install - a package for the installation and maintainance 8 * of non-core utilities. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 139 unchanged lines hidden (view full) --- 151 add_plist(&plist, PLIST_IGNORE, NULL); 152 add_plist(&plist, PLIST_FILE, DESC_FNAME); 153 154 if (Install) { 155 copy_file(home, Install, INSTALL_FNAME); 156 add_plist(&plist, PLIST_IGNORE, NULL); 157 add_plist(&plist, PLIST_FILE, INSTALL_FNAME); 158 } |
159 if (PostInstall) { 160 copy_file(home, PostInstall, POST_INSTALL_FNAME); 161 add_plist(&plist, PLIST_IGNORE, NULL); 162 add_plist(&plist, PLIST_FILE, POST_INSTALL_FNAME); 163 } |
|
159 if (DeInstall) { 160 copy_file(home, DeInstall, DEINSTALL_FNAME); 161 add_plist(&plist, PLIST_IGNORE, NULL); 162 add_plist(&plist, PLIST_FILE, DEINSTALL_FNAME); 163 } | 164 if (DeInstall) { 165 copy_file(home, DeInstall, DEINSTALL_FNAME); 166 add_plist(&plist, PLIST_IGNORE, NULL); 167 add_plist(&plist, PLIST_FILE, DEINSTALL_FNAME); 168 } |
169 if (PostDeInstall) { 170 copy_file(home, PostDeInstall, POST_DEINSTALL_FNAME); 171 add_plist(&plist, PLIST_IGNORE, NULL); 172 add_plist(&plist, PLIST_FILE, POST_DEINSTALL_FNAME); 173 } |
|
164 if (Require) { 165 copy_file(home, Require, REQUIRE_FNAME); 166 add_plist(&plist, PLIST_IGNORE, NULL); 167 add_plist(&plist, PLIST_FILE, REQUIRE_FNAME); 168 } 169 if (Display) { 170 copy_file(home, Display, DISPLAY_FNAME); 171 add_plist(&plist, PLIST_IGNORE, NULL); --- 93 unchanged lines hidden (view full) --- 265 } 266 267 fprintf(totar, "%s\n", CONTENTS_FNAME); 268 fprintf(totar, "%s\n", COMMENT_FNAME); 269 fprintf(totar, "%s\n", DESC_FNAME); 270 271 if (Install) 272 fprintf(totar, "%s\n", INSTALL_FNAME); | 174 if (Require) { 175 copy_file(home, Require, REQUIRE_FNAME); 176 add_plist(&plist, PLIST_IGNORE, NULL); 177 add_plist(&plist, PLIST_FILE, REQUIRE_FNAME); 178 } 179 if (Display) { 180 copy_file(home, Display, DISPLAY_FNAME); 181 add_plist(&plist, PLIST_IGNORE, NULL); --- 93 unchanged lines hidden (view full) --- 275 } 276 277 fprintf(totar, "%s\n", CONTENTS_FNAME); 278 fprintf(totar, "%s\n", COMMENT_FNAME); 279 fprintf(totar, "%s\n", DESC_FNAME); 280 281 if (Install) 282 fprintf(totar, "%s\n", INSTALL_FNAME); |
283 if (PostInstall) 284 fprintf(totar, "%s\n", POST_INSTALL_FNAME); |
|
273 if (DeInstall) 274 fprintf(totar, "%s\n", DEINSTALL_FNAME); | 285 if (DeInstall) 286 fprintf(totar, "%s\n", DEINSTALL_FNAME); |
287 if (PostDeInstall) 288 fprintf(totar, "%s\n", POST_DEINSTALL_FNAME); |
|
275 if (Require) 276 fprintf(totar, "%s\n", REQUIRE_FNAME); 277 if (Display) 278 fprintf(totar, "%s\n", DISPLAY_FNAME); 279 if (Mtree) 280 fprintf(totar, "%s\n", MTREE_FNAME); 281 282 for (p = plist->head; p; p = p->next) { --- 48 unchanged lines hidden --- | 289 if (Require) 290 fprintf(totar, "%s\n", REQUIRE_FNAME); 291 if (Display) 292 fprintf(totar, "%s\n", DISPLAY_FNAME); 293 if (Mtree) 294 fprintf(totar, "%s\n", MTREE_FNAME); 295 296 for (p = plist->head; p; p = p->next) { --- 48 unchanged lines hidden --- |