Revision 4be5ed9f
Added by Renato Botelho over 6 years ago
src/usr/local/www/diag_backup.php | ||
---|---|---|
41 | 41 |
require_once("functions.inc"); |
42 | 42 |
require_once("filter.inc"); |
43 | 43 |
require_once("shaper.inc"); |
44 |
require_once("pkg-utils.inc"); |
|
44 | 45 |
|
45 | 46 |
$rrddbpath = "/var/db/rrd"; |
46 | 47 |
$rrdtool = "/usr/bin/nice -n20 /usr/local/bin/rrdtool"; |
... | ... | |
322 | 323 |
|
323 | 324 |
if ($pkg_repo_restored) { |
324 | 325 |
write_config(gettext("Removing pkg repository set after restoring full configuration")); |
326 |
pkg_update(true); |
|
325 | 327 |
} |
326 | 328 |
|
327 | 329 |
if (file_exists("/boot/loader.conf")) { |
Also available in: Unified diff
Fix #9071: Make sure pkg metadata is updated when repo config changes