Revision 3ddb92a6
Added by Ermal LUÇI about 13 years ago
usr/local/www/pkg_mgr_install.php | ||
---|---|---|
141 | 141 |
update_output_window(file_get_contents("/tmp/pkg_mgr_{$id}.log")); |
142 | 142 |
break; |
143 | 143 |
case "reinstallxml": |
144 |
case "reinstallpkg": |
|
145 | 144 |
delete_package_xml(htmlspecialchars($_GET['pkg'])); |
146 | 145 |
if (install_package(htmlspecialchars($_GET['pkg'])) < 0) { |
147 | 146 |
update_status(gettext("Package reinstallation failed.")); |
... | ... | |
184 | 183 |
update_output_window($static_output); |
185 | 184 |
filter_configure(); |
186 | 185 |
break; |
186 |
case "reinstallpkg": |
|
187 |
update_status(gettext("Reinstalling package {$_GET['pkg']}")); |
|
188 |
uninstall_package($_GET['pkg']); |
|
189 |
update_output_window($static_output); |
|
187 | 190 |
default: |
188 | 191 |
$status = install_package(htmlspecialchars($_GET['id'])); |
189 | 192 |
if($status == -1) { |
Also available in: Unified diff
Actually make reinstallpkg remove the bionaries and really reinstall them