summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-24 01:59:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-24 01:59:37 +0000
commit74966fc86a98d7d518a610819db2fd31f6f7befd (patch)
treeefbb2b1659b30f1014a7ac4ac9cbb1e7e5b6309a /tmp
parent995c37cb73c1ef69718a9e1e7f149caff8276288 (diff)
downloadpfsense-74966fc86a98d7d518a610819db2fd31f6f7befd.zip
pfsense-74966fc86a98d7d518a610819db2fd31f6f7befd.tar.gz
Nuke /usr/local/sbin/php if it exists on upgrade
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command4
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
OpenPOWER on IntegriCloud