diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-22 16:18:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-22 16:18:52 +0000 |
commit | 942e38a7031bd06f96296525e21348029394fe4f (patch) | |
tree | 8f48d6e2299c3bdbfc6d9f903c270246ca613528 /tmp | |
parent | 5c4b23a996732366c83a45d1341e77ea5d62e7ae (diff) | |
download | pfsense-942e38a7031bd06f96296525e21348029394fe4f.zip pfsense-942e38a7031bd06f96296525e21348029394fe4f.tar.gz |
Only signal a package reinstall on full installations.
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 2 | ||||
-rwxr-xr-x | tmp/post_upgrade_command.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index 5c871d8..e1c66b8 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -46,5 +46,3 @@ if [ -f /usr/local/sbin/php ]; then rm /usr/local/sbin/php fi -# Signal a package reinstall -touch /conf/needs_package_sync
\ No newline at end of file diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php index 4b9fcef..0259f0f 100755 --- a/tmp/post_upgrade_command.php +++ b/tmp/post_upgrade_command.php @@ -15,4 +15,8 @@ unlink("/usr/local/www/fred.png"); if(file_exists("/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 |