Project

General

Profile

« Previous | Next » 

Revision 24ac6985

Added by Renato Botelho almost 8 years ago

Run rc.update_pkg_metadata in background when repository changes

View differences:

src/etc/inc/pkg-utils.inc
1318 1318
		file_put_contents("/usr/local/etc/pkg.conf", $pkg_conf);
1319 1319
	}
1320 1320

  
1321
	return pkg_update(true);
1321
	/* Update pfSense_version cache */
1322
	mwexec_bg("/etc/rc.update_pkg_metadata now");
1323
	return;
1322 1324
}
1323 1325

  
1324 1326
?>

Also available in: Unified diff