File: libapache2-mod-wsgi.rtupdate

package info (click to toggle)
mod-wsgi 3.3-2%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 688 kB
  • ctags: 544
  • sloc: ansic: 9,859; makefile: 67; sh: 66
file content (8 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

if [ "$1" = rtupdate ]; then
    new_version=`echo ${3} | sed 's,^python,,'`
    ln -sf mod_wsgi.so-${new_version} /usr/lib/apache2/modules/mod_wsgi.so
fi