Changeset 244 for nutchez-0.2/src/shell/master_remove
- Timestamp:
- Jul 1, 2010, 4:33:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/master_remove
r233 r244 9 9 # 10 10 11 source /home/nutchuser/nutchez/system/lang_link11 #source /home/nutchuser/nutchez/system/lang_link 12 12 13 13 ########## echo function ########## … … 28 28 nutch_PATH=/home/nutchuser/nutchez/system 29 29 30 function load_default_lang(){ 31 32 lang=$(locale | grep 'LANG=' | cut -d "=" -f2) 33 34 # Default: source english 35 . $Work_Path/lang/lang_en_US 36 # if locale is zh then source chinese 37 38 echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW 39 } 30 40 31 41 # check root
Note: See TracChangeset
for help on using the changeset viewer.