Ignore:
Timestamp:
Jun 28, 2010, 11:40:49 AM (14 years ago)
Author:
waue
Message:

修改client 安裝時會先載入預設語言,並檢查是否為root
master_remove.sh 則是改進 userdel 回報user nutchuser 目前登入不改刪除的錯誤

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/client_install_func.sh

    r213 r231  
    2020}
    2121
    22 
    23 # choose Language
    24 function choose_lang(){
     22function load_default_lang(){
    2523
    2624lang=$(locale | grep 'LANG=' | cut -d "=" -f2)
     
    2927. $Work_Path/lang/lang_en_US_client_install
    3028# if locale is zh then source chinese
     29
    3130echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW_client_install
     31}
     32
     33# choose Language
     34function choose_lang(){
     35
     36#lang=$(locale | grep 'LANG=' | cut -d "=" -f2)
     37
     38# Default: source english
     39#. $Work_Path/lang/lang_en_US_client_install
     40# if locale is zh then source chinese
     41#echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW_client_install
    3242
    3343# Ask language
Note: See TracChangeset for help on using the changeset viewer.