diff options
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 2 | ||||
-rwxr-xr-x | tmp/post_upgrade_command.php | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index a88e17c..48b3f59 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -45,5 +45,3 @@ if [ -f /usr/local/sbin/php ]; then rm /usr/local/sbin/php fi -# Signal a package reinstall -touch /conf/needs_package_sync 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 |