Changeset 133
- Timestamp:
- May 28, 2010, 2:01:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install_func.sh
r132 r133 27 27 echo -e "\n= check_systemInfo (debug) =" 28 28 echo -e "\nYour system information are:" 29 distribution=$(lsb_release -d 2>/dev/null) 30 Linux_Distribution=$(echo $distribution | awk '{print $2}') 31 Linux_Version=$(echo $distribution | awk '{print $3}') 29 Linux_Distribution=$(lsb_release -a 2> /dev/null | grep "Distributor ID:" | awk '{print $3}') 30 Linux_Version=$(lsb_release -a 2> /dev/null | grep "Release" | awk '{print $2}') 32 31 echo $Linux_Distribution , $Linux_Version 33 unset distribution34 32 } 35 33 … … 38 36 function install_packages(){ 39 37 # deb 系列系統 38 echo -e "\n= install_packages (debug) =" 39 echo -e "\nCheck dependent packages" 40 40 if [ "$Linux_Distribution" == "Ubuntu" ] || [ "$Linux_Distribution" == "Debian" ] ;then 41 41 aptitude install -y expect ssh dialog … … 136 136 else 137 137 echo -e "\nplz install PHP 5 version!" 138 #exit138 exit 139 139 fi 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.