summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/pkg_mgr_install.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 6edb347..9366d1c 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -135,8 +135,6 @@ switch($_GET['mode']) {
break;
case "reinstallpkg":
$id = get_pkg_id(htmlspecialchars($_GET['pkg']));
- $todel = substr(reverse_strrchr($config['installedpackages']['package'][$id]['depends_on_package'], "."), 0, -1);
- delete_package($todel, htmlspecialchars($_GET['pkg']));
delete_package_xml(htmlspecialchars($_GET['pkg']));
install_package(htmlspecialchars($_GET['pkg']));
update_status("Package reinstalled.");
@@ -196,4 +194,4 @@ conf_mount_ro();
if($fd_log)
fclose($fd_log);
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud