Revision 09e11b69
Added by Scott Ullrich over 14 years ago
etc/inc/pkg-utils.inc | ||
---|---|---|
313 | 313 |
global $config, $static_output; |
314 | 314 |
global $builder_package_install; |
315 | 315 |
|
316 |
// Back up /usr/local/lib libraries first |
|
316 |
// Back up /usr/local/lib libraries first if |
|
317 |
// not running from the builder code. |
|
317 | 318 |
if(!$builder_package_install) { |
318 | 319 |
if(!file_exists("/tmp/pkg_libs.tgz")) { |
319 | 320 |
$static_output .= "Backing up libraries... "; |
... | ... | |
335 | 336 |
} |
336 | 337 |
delete_package_xml($pkg_name); |
337 | 338 |
|
338 |
// Restore libraries that we backed up |
|
339 |
// Restore libraries that we backed up if not |
|
340 |
// running from the builder code. |
|
339 | 341 |
if(!$builder_package_install) { |
340 | 342 |
$static_output .= "Cleaning up... "; |
341 | 343 |
update_output_window($static_output); |
... | ... | |
355 | 357 |
global $config, $config_parsed; |
356 | 358 |
global $builder_package_install; |
357 | 359 |
|
360 |
// If this code is being called by pfspkg_installer |
|
361 |
// which the builder system uses then return (ignore). |
|
358 | 362 |
if($builder_package_install) |
359 | 363 |
return; |
360 | 364 |
|
Also available in: Unified diff
Comment what this variable does