1 # this script should be . included into the fns file
2 # of any system that needs an update to its python install
4 PATH=$HOME/python/bin:$PATH
11 mkdir -p python_install || exit 1
12 rsync -avz samba.org::ftp/tridge/python/$VERSION.tar python_install || exit 1
13 cd python_install || exit 1;
14 rm -rf $VERSION || exit 1
15 tar -xf $VERSION.tar || exit 1
17 ./configure --prefix=$HOME/python --disable-ipv6 --enable-shared || exit 1
19 make install || exit 1
21 rm -rf python_install || exit 1
22 rsync install_python.fns $HOME/python || exit 1
23 ) > install_python.$host.log 2>&1
25 rsync -c -q --password-file=.password -z --timeout=200 install_python.$host.log $host@build.samba.org::build_farm_data/
28 if ! test -d $HOME/python || ! cmp install_python.fns $HOME/python/install_python.fns; then
29 # needs to be installed