Revision b2a66231
Added by Ermal LUÇI almost 15 years ago
usr/local/www/pkg_mgr_install.php | ||
---|---|---|
181 | 181 |
$static_output = ""; |
182 | 182 |
if($pkgtodo['name']) { |
183 | 183 |
update_output_window($static_output); |
184 |
delete_package($pkgtodo['name'] . '-' . $pkgtodo['version'], $pkg_id); |
|
185 |
delete_package_xml($pkgtodo['name']); |
|
184 |
uninstall_package_from_name($pkgtodo['name']); |
|
186 | 185 |
install_package($pkgtodo['name']); |
187 | 186 |
$pkg_id++; |
188 | 187 |
} |
Also available in: Unified diff
Ticket #873. Call write_config() before including file to avoid loosing already done modifications. While here do some code cleanup and formating to make it more readble.