summaryrefslogtreecommitdiff
path: root/debian/php5-dev.postinst
diff options
context:
space:
mode:
authorAdam Conrad <adconrad@0c3.net>2005-07-16 23:42:36 +1000
committerMark A. Hershberger <mah@debian.(none)>2009-03-25 00:34:23 -0400
commit51cd902aadd1ec578ba3f3624238becac79a149b (patch)
tree5af1bc6a855ad9eb1a809963c28a0078e2c29355 /debian/php5-dev.postinst
parent0e920280a2e04b110827bb766b9f29e3d581c4ee (diff)
downloadphp-51cd902aadd1ec578ba3f3624238becac79a149b.tar.gz
Imported Debian patch 5.0.4-1debian/5.0.4-1
Diffstat (limited to 'debian/php5-dev.postinst')
-rw-r--r--debian/php5-dev.postinst16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/php5-dev.postinst b/debian/php5-dev.postinst
new file mode 100644
index 000000000..54dcb7724
--- /dev/null
+++ b/debian/php5-dev.postinst
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+for i in php-config phpize; do
+ update-alternatives \
+ --install /usr/bin/"$i" $i /usr/bin/"$i"5 50
+done
+
+exit 0