summaryrefslogtreecommitdiffstats
path: root/abs/core/php/php.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-11-14 23:27:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-11-14 23:27:44 (GMT)
commit344751f81a18533524e3f945ac8e33fa0243d606 (patch)
tree7cb9c9010d7b589fb5d67648a94869d18c592130 /abs/core/php/php.install
parente9de2b12b35f77ce67204c6e1964a5345bb15b6c (diff)
downloadlinhes_pkgbuild-344751f81a18533524e3f945ac8e33fa0243d606.zip
linhes_pkgbuild-344751f81a18533524e3f945ac8e33fa0243d606.tar.gz
linhes_pkgbuild-344751f81a18533524e3f945ac8e33fa0243d606.tar.bz2
php: change mysql.default_socket for existing php.ini
Diffstat (limited to 'abs/core/php/php.install')
-rw-r--r--abs/core/php/php.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/core/php/php.install b/abs/core/php/php.install
index fb543f3..b040032 100644
--- a/abs/core/php/php.install
+++ b/abs/core/php/php.install
@@ -1,4 +1,6 @@
post_install() {
+ # change mysql.default_socket for mythweb
+ sed -i 's/^mysql.default_socket.*$/mysql.default_socket = \/var\/run\/mysqld\/mysqld.sock/g' /etc/php/php.ini
if [ -f /etc/systemconfig ]
then
. /etc/systemconfig