From 7770cea84961bd4ff63fe39b6eaeebf64b1f66dd Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 22 Jul 2008 16:18:47 +0000 Subject: Only signal a package reinstall on full installations. --- tmp/post_upgrade_command.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmp/post_upgrade_command.php') diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php index 4b9fcef..cf920f9 100755 --- a/tmp/post_upgrade_command.php +++ b/tmp/post_upgrade_command.php @@ -14,5 +14,9 @@ if(file_exists("/usr/local/www/fred.png")) unlink("/usr/local/www/fred.png"); if(file_exists("/usr/local/www/dfuife.cgi")) - unlink("/usr/local/www/dfuife.cgi"); + unlink("/usr/local/www/dfuife.cgi"); + + if($g['platform'] == "pfSense") + touch("/conf/needs_package_sync"); + ?> \ No newline at end of file -- cgit v1.1