diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-24 01:59:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-24 01:59:37 +0000 |
commit | 74966fc86a98d7d518a610819db2fd31f6f7befd (patch) | |
tree | efbb2b1659b30f1014a7ac4ac9cbb1e7e5b6309a /tmp | |
parent | 995c37cb73c1ef69718a9e1e7f149caff8276288 (diff) | |
download | pfsense-74966fc86a98d7d518a610819db2fd31f6f7befd.zip pfsense-74966fc86a98d7d518a610819db2fd31f6f7befd.tar.gz |
Nuke /usr/local/sbin/php if it exists on upgrade
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index 896f16d..163340d 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -37,3 +37,7 @@ PFSENSETYPE=`cat /etc/platform` if [ $PFSENSETYPE = "embedded" ]; then cp /etc/ttys_wrap /etc/ttys fi + +if [ -f /usr/local/sbin/php ]; then + rm /usr/local/sbin/php +fi |