[Python-modules-commits] r14229 - in packages/mod-wsgi/trunk/debian (1 file)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Fri Aug 20 22:01:57 UTC 2010
Date: Friday, August 20, 2010 @ 22:01:55
Author: piotr
Revision: 14229
use Python 3.X in update_symlink()
Modified:
packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi-py3.postinst
Modified: packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi-py3.postinst
===================================================================
--- packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi-py3.postinst 2010-08-19 16:39:06 UTC (rev 14228)
+++ packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi-py3.postinst 2010-08-20 22:01:55 UTC (rev 14229)
@@ -14,9 +14,9 @@
update_symlink() {
wsgi_py=`readlink /usr/lib/apache2/modules/mod_wsgi.so | sed 's,.*-,,'`
- py_default=`dpkg -s python | grep '^Version' | sed 's,Version: \([^.]*.[^.]*\).*,\1,'`
- if [ ! "${wsgi_py}" = "${py_default}" ]; then
- ln -sf mod_wsgi.so-${py_default} /usr/lib/apache2/modules/mod_wsgi.so
+ py3_default=`dpkg -s python3 | grep '^Version' | sed 's,Version: \([^.]*.[^.]*\).*,\1,'`
+ if [ ! "${wsgi_py}" = "${py3_default}" ]; then
+ ln -sf mod_wsgi.so-${py3_default} /usr/lib/apache2/modules/mod_wsgi.so
fi
}
More information about the Python-modules-commits
mailing list