Changeset 227 for nutchez-0.2/src/shell
- Timestamp:
- Jun 25, 2010, 3:18:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/install_func.sh
r224 r227 10 10 Admin_email=nutchuser@nutch 11 11 # Work_Path=(define on install) 12 Install_Dir= $Work_Path/../12 Install_Dir=`cd "$Work_Path/../"; pwd` 13 13 MasterIP_Address=`/sbin/ifconfig eth0 | grep 'inet addr' | sed 's/^.*addr://g' | sed 's/Bcast.*$//g' | sed 's/ .*// '` 14 14 net_MacAddr=`/sbin/ifconfig eth0 | grep 'HW' | sed 's/^.*HWaddr //g'` … … 86 86 local pac_name=nutchez-0.2pack-current.tar.gz 87 87 if [ ! -d "$Install_Dir/package" ];then 88 mkdir ./package88 mkdir $Install_Dir/package 89 89 fi 90 90 if [ ! -e "$Install_Dir/package/$pac_name" ];then 91 91 wget "http://nutchez.googlecode.com/files/$pac_name"; 92 92 if [ $? -eq 0 ];then 93 mv $pac_name ./package;93 mv $pac_name $Install_Dir/package; 94 94 echo "movied"; 95 95 else
Note: See TracChangeset
for help on using the changeset viewer.