summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-26 16:02:16 -0200
committerRenato Botelho <renato@netgate.com>2016-01-26 16:02:56 -0200
commiteff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6 (patch)
treedcfa723037d0b52149cd7bf3f0d49fb9fe01d702 /src/usr/local/www/pkg_mgr_install.php
parent5c89fc2cf948efba29aa352a9bcaa6bcd83b00c4 (diff)
downloadpfsense-eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6.zip
pfsense-eff7c86d7bea87990ac16c4c8d0f3ad45bd1a8d6.tar.gz
Remove .json when it's not necessary anymore
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php1
1 files changed, 1 insertions, 0 deletions
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")):
?>
<script>
OpenPOWER on IntegriCloud