Revision bf541de9
Added by Scott Ullrich almost 19 years ago
usr/local/www/pkg_mgr_install.php | ||
---|---|---|
133 | 133 |
install_package($_GET['pkg']); |
134 | 134 |
update_status("Package reinstalled."); |
135 | 135 |
$static_output .= "\n\nPackage reinstalled."; |
136 |
update_output_window($static_output); |
|
137 | 136 |
start_service($_GET['pkg']); |
137 |
update_output_window($static_output); |
|
138 | 138 |
break; |
139 | 139 |
case "reinstallxml": |
140 | 140 |
delete_package_xml($_GET['pkg']); |
141 | 141 |
install_package($_GET['pkg']); |
142 | 142 |
$static_output .= "\n\nPackage reinstalled."; |
143 |
update_output_window($static_output); |
|
143 |
start_service($_GET['pkg']); |
|
144 |
update_output_window($static_output); |
|
144 | 145 |
break; |
145 | 146 |
case "reinstallall": |
146 | 147 |
if($config['installedpackages']['package'] <> "") |
... | ... | |
155 | 156 |
} |
156 | 157 |
update_status("All packages reinstalled."); |
157 | 158 |
$static_output .= "\n\nAll packages reinstalled."; |
158 |
update_output_window($static_output); |
|
159 |
start_service($_GET['pkg']); |
|
160 |
update_output_window($static_output); |
|
159 | 161 |
break; |
160 | 162 |
default: |
161 | 163 |
$status = install_package($_GET['id']); |
Also available in: Unified diff
Be kind, rewind. Restart the package after a reinstallation.