summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-24 01:59:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-24 01:59:49 +0000
commit998bc8a5e813daec077b6d6974623bf8dd961383 (patch)
treead34e392a6d838203eb7c858fc2c48c88191f68e
parentb760a120d293bff0f2c5a37890648f9c71d2991b (diff)
downloadpfsense-998bc8a5e813daec077b6d6974623bf8dd961383.zip
pfsense-998bc8a5e813daec077b6d6974623bf8dd961383.tar.gz
Nuke /usr/local/sbin/php if it exists on upgrade
-rwxr-xr-xtmp/post_upgrade_command7
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
+
OpenPOWER on IntegriCloud