Project

General

Profile

« Previous | Next » 

Revision f169e274

Added by Scott Ullrich over 14 years ago

More misc pkg install txt fixups

View differences:

etc/inc/pkg-utils.inc
306 306

  
307 307
	// Back up /usr/local/lib libraries first
308 308
	if(!file_exists("/tmp/pkg_libs.tgz")) {
309
		$static_output .= "\tBacking up libraries... ";
309
		$static_output .= "Backing up libraries... ";
310 310
		update_output_window($static_output);
311 311
		exec("/usr/bin/tar czPf /tmp/pkg_libs.tgz `/bin/cat /etc/pfSense_md5.txt | /usr/bin/grep 'local/lib' | /usr/bin/awk '{ print $2 }' | /usr/bin/cut -d'(' -f2 | /usr/bin/cut -d')' -f1`");
312 312
		$static_output .= "\n";
......
439 439
		$base_url = $priv_url;
440 440
	if (substr($base_url, -1) == "/")
441 441
		$base_url = substr($base_url, 0, -1);
442
	$static_output .= "\n" . str_repeat(" ", $dependlevel * 2) . $pkgname . " ";
443 442
	$fetchto = "{$g['tmp_path']}/apkg_{$filename}";
444 443
	$static_output .= "\n\t" . str_repeat(" ", $dependlevel * 2 + 1) . "Downloading {$base_url}/{$filename} ... ";
445 444
	if (download_file_with_progress_bar("{$base_url}/{$filename}", $fetchto) !== true) {
......
856 855
		return;
857 856
	}
858 857
	pkg_debug("Removing {$pkg} package... ");
859
	$static_output .= "Removing {$pkg} components...\n";
858
	$static_output .= "\tRemoving {$pkg} components...\n";
860 859
	update_output_window($static_output);
861 860
	/* parse package configuration */
862 861
	$packages = &$config['installedpackages']['package'];

Also available in: Unified diff