summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index f59fddc..94195d2 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -337,6 +337,8 @@ function uninstall_package($pkg_name) {
if (is_array($pkg_depends)) {
foreach ($pkg_depends as $pkg_depend)
delete_package($pkg_depend);
+ } else {
+ delete_package($pkg_depends);
}
}
delete_package_xml($pkg_name);
OpenPOWER on IntegriCloud