Project

General

Profile

« Previous | Next » 

Revision 06e2abdb

Added by Scott Ullrich over 20 years ago

Additional logging during installation for additional files needed

View differences:

usr/local/www/pkg_mgr_install.php
424 424
                                        update_progress_bar($pb_percent);
425 425
                                        $pb_percent += 10;
426 426
                                        $filename = get_filename_from_url($afn);
427
                                        fwrite($fd_log, "Downloading additional files needed for package " . $filename . " ...");
427 428
                                        update_status("Downloading additional files needed for package " . $filename . " ...");
428 429
                                        system("cd /usr/local/pkg && /usr/bin/fetch " .  $afn . " 2>/dev/null");
429
                                        if(stristr($filename, '.tgz') <> "")
430
                                        if(stristr($filename, '.tgz') <> "") {
431
                                                    update_status("Extracting tgz archive to -C for " . $filename);
430 432
                                                    system("cd /usr/local/pkg && tar xzvf " . $filename . " -C / >/dev/null 2>&1");
433
                                        }
431 434
                            }
432 435
                }
433 436

  

Also available in: Unified diff