Skip to content

Commit

Permalink
force pymysqldb installation
Browse files Browse the repository at this point in the history
  • Loading branch information
drscream committed Aug 11, 2014
1 parent bf5183c commit 0197337
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions customize
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ for CONF_RM in ${HTTP_CONF_RM}; do
rm -f /opt/local/etc/httpd/${CONF_RM}
done

# Create ugly mysql-client symlink and install py27-mysqldb
echo "* Create ugly mysql-client symlink and install py27-mysqldb"
ln -sv /opt/local/lib/libperconaserverclient.so.18 /opt/local/lib/libmysqlclient.so.18
pkg_add -f http://pkgsrc.smartos.skylime.net/packages/SmartOS/2014Q2/x86_64/All/py27-mysqldb-1.2.5.tgz

# Remove unused mysql stuff from base
echo "* Remove unused mysql stuff from base"
rm -r /var/mysql/*
Expand Down
2 changes: 0 additions & 2 deletions packages
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ phpmyadmin
py27-gunicorn
py27-pip
py27-passlib
py27-pymysql
py27-OpenSSL
py27-SSLCrypto
py27-expat
py27-mysqldb

0 comments on commit 0197337

Please sign in to comment.