diff --git a/scripts/setup-seafile-mysql.sh b/scripts/setup-seafile-mysql.sh index cb8b8c5..23cb3ff 100755 --- a/scripts/setup-seafile-mysql.sh +++ b/scripts/setup-seafile-mysql.sh @@ -70,11 +70,6 @@ function check_python () { if [[ $PYTHON == "python2.6" ]]; then py26="2.6" fi - hint="\nOn Debian/Ubntu: apt-get install python-setuptools\nOn CentOS/RHEL: yum install python${py26}-distribute" - check_python_module pkg_resources setuptools "${hint}" - - hint="\nOn Debian/Ubntu: apt-get install python-imaging\nOn CentOS/RHEL: yum install python${py26}-imaging" - check_python_module PIL python-imaging "${hint}" hint='\nOn Debian/Ubuntu:\n\nsudo apt-get install python-mysqldb\n\nOn CentOS/RHEL:\n\nsudo yum install MySQL-python' check_python_module MySQLdb python-mysqldb "${hint}" diff --git a/scripts/setup-seafile.sh b/scripts/setup-seafile.sh index 8c047b2..9aac18f 100755 --- a/scripts/setup-seafile.sh +++ b/scripts/setup-seafile.sh @@ -145,10 +145,6 @@ function check_python () { if [[ $PYTHON == "python2.6" ]]; then py26="2.6" fi - hint="\nOn Debian/Ubntu: apt-get install python-setuptools\nOn CentOS/RHEL: yum install python${py26}-distribute" - check_python_module pkg_resources setuptools "${hint}" - hint="\nOn Debian/Ubntu: apt-get install python-imaging\nOn CentOS/RHEL: yum install python${py26}-imaging" - check_python_module PIL python-imaging "${hint}" check_python_module sqlite3 python-sqlite3 fi echo