summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/pkg_mgr_install.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 5b5a770..8d197a0 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -472,8 +472,14 @@ foreach ($packages_to_install as $id) {
fwrite($fd_log, "Package installation completed.\n");
log_error("Package " . $pkgent['name'] . " installation completed successfully.");
fwrite($fd_log, "Status window output:\n" . $static_output);
+ unlink_if_exists("/
}
+// Delete all temporary package tarballs and staging areas.
+unlink_if_exists("/tmp/apkg_*");
+rmdir_recursive("/var/tmp/instmp*");
+
+
// close log
fclose($fd_log);
OpenPOWER on IntegriCloud