summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 9e9b5d7..5e17150 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -181,8 +181,7 @@ switch($_GET['mode']) {
$static_output = "";
if($pkgtodo['name']) {
update_output_window($static_output);
- delete_package($pkgtodo['name'] . '-' . $pkgtodo['version'], $pkg_id);
- delete_package_xml($pkgtodo['name']);
+ uninstall_package_from_name($pkgtodo['name']);
install_package($pkgtodo['name']);
$pkg_id++;
}
OpenPOWER on IntegriCloud