diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-24 01:59:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-24 01:59:49 +0000 |
commit | 998bc8a5e813daec077b6d6974623bf8dd961383 (patch) | |
tree | ad34e392a6d838203eb7c858fc2c48c88191f68e /tmp | |
parent | b760a120d293bff0f2c5a37890648f9c71d2991b (diff) | |
download | pfsense-998bc8a5e813daec077b6d6974623bf8dd961383.zip pfsense-998bc8a5e813daec077b6d6974623bf8dd961383.tar.gz |
Nuke /usr/local/sbin/php if it exists on upgrade
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index bad4ce7..dfce601 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -36,4 +36,9 @@ rm -rf /usr/local/sbin/cvs_sync.sh PFSENSETYPE=`cat /etc/platform` if [ $PFSENSETYPE = "embedded" ]; then cp /etc/ttys_wrap /etc/ttys -fi
\ No newline at end of file +fi + +if [ -f /usr/local/sbin/php ]; then + rm /usr/local/sbin/php +fi + |