diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-05-07 10:26:48 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-05-07 10:26:48 -0300 |
commit | ffa04fc2ddf7ead6f770bcc04ef5d588f907e48b (patch) | |
tree | a2bdfa3a7b099249375a57bcc97e6830c0690344 /etc | |
parent | fdae0912735c779a8f20ca8292fd404fc3f5ed78 (diff) | |
download | pfsense-ffa04fc2ddf7ead6f770bcc04ef5d588f907e48b.zip pfsense-ffa04fc2ddf7ead6f770bcc04ef5d588f907e48b.tar.gz |
Remove use of obsolete packages tag 'modify_system'
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index c51916f..f3f0826 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -817,18 +817,6 @@ function install_package_xml($pkg) { $config['installedpackages']['package'][$pkgid]['filter_rule_function'] = $pkg_config['filter_rules_needed']; } update_output_window($static_output); - /* modify system files */ - if (is_array($pkg_config['modify_system']) && is_array($pkg_config['modify_system']['item'])) { - $static_output .= gettext("System files... "); - update_output_window($static_output); - foreach ($pkg_config['modify_system']['item'] as $ms) { - if ($ms['textneeded']) { - add_text_to_file($ms['modifyfilename'], $ms['textneeded']); - } - } - $static_output .= gettext("done.") . "\n"; - update_output_window($static_output); - } pkg_fetch_additional_files($pkg, $pkg_info); @@ -1109,19 +1097,6 @@ function delete_package_xml($pkg) { eval_once($pkg_config['custom_php_pre_deinstall_command']); } } - /* system files */ - if (is_array($pkg_config['modify_system']) && is_array($pkg_config['modify_system']['item'])) { - $static_output .= gettext("System files... "); - update_output_window($static_output); - foreach ($pkg_config['modify_system']['item'] as $ms) { - if ($ms['textneeded']) { - remove_text_from_file($ms['modifyfilename'], $ms['textneeded']); - } - } - - $static_output .= gettext("done.") . "\n"; - update_output_window($static_output); - } /* deinstall commands */ if ($pkg_config['custom_php_deinstall_command'] <> "") { $static_output .= gettext("Deinstall commands... "); |