Changeset 202 for drbl-virt/install.sh


Ignore:
Timestamp:
Aug 30, 2010, 2:18:14 PM (14 years ago)
Author:
rock
Message:

Add: Automatic packaging drbl-virt (tar_drbl-virt.sh)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/install.sh

    r188 r202  
    99#   2010/08/03  Rock    First release (1.0)
    1010
    11 # [PATH]
     11
     12# [Path]
    1213Work_Home="/opt/drbl-virt"
    1314Work_Path="/opt/drbl-virt/sbin"
    1415Now_Path="$(dirname $0)"
    15 PATH=${PATH}:$Work_Path
     16PATH=${PATH}:$Work_Path:${Now_Path}/sbin
    1617
    17 # [Source]
     18# Source]
    1819source $Now_Path/sbin/functions_drbl_virt
    1920
    2021# [Main]
    21 #
    2222check_root
    2323
     
    3535fi
    3636
     37
     38# = 1. Create /opt/drbl-virt and copy file =
    3739mkdir -p $Work_Home
    3840mkdir $Work_Home/etc
     
    4244cp  -fr $Now_Path/uninstall.sh $Work_Home/
    4345
    44 echo "drbl-virt install completion"
    45 echo "Please go to /opt/drbl-virt/ to check"
     46# = 2. Move war =
     47mv drbl-virt.war $Work_Home/
     48
     49# = 4. Install completion =
     50echo ""
     51echo "[drbl-virt install completion]"
     52echo "Please go to /opt/drbl-virt/ to check !!!"
Note: See TracChangeset for help on using the changeset viewer.