From eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 26 Jan 2016 16:02:16 -0200 Subject: Remove .json when it's not necessary anymore --- src/usr/local/www/pkg_mgr_install.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usr') diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 815474e..1518ec0 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -501,6 +501,7 @@ if ($_POST && ($_POST['completed'] != "true")) { // $_POST['completed'] just means that we are refreshing the page to update any new menu items // that were installed if ($_POST && $_POST['completed'] == "true"): + unlink_if_exists($logfilename . ".json"); if (($pkgid == 'firmware') && ($_POST['reboot_needed'] == "yes")): ?>