Changeset 140 for nutchez-0.2/src/test/client_install_func.sh
- Timestamp:
- Jun 1, 2010, 4:34:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install_func.sh
r139 r140 127 127 fi 128 128 } 129 130 131 # 檢查是否安裝 php 5.5132 function check_php(){133 echo -e "\n= check_php (debug) ="134 if [ "$(php -v 2>/dev/null | grep "PHP 5" | awk '{print $2}' | cut -d "." -f1)" == 5 ]; then135 echo -e "\nPHP'version is 5"136 else137 echo -e "\nplz install PHP 5 version!"138 exit139 fi140 }141 142 129 143 130 # scp nutchuser@master_ip:~ 把.ssh/目錄複製下來
Note: See TracChangeset
for help on using the changeset viewer.