Changeset 188 for drbl-virt/install.sh


Ignore:
Timestamp:
Aug 26, 2010, 6:17:08 PM (14 years ago)
Author:
rock
Message:

BugFix?:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/install.sh

    r185 r188  
    2222check_root
    2323
     24jude="no"
     25if [ -e $Work_Home ]; then
     26    echo "This system already has drbl-virt."
     27    read -p "Do you want to install, again (yes/no): " jude
     28
     29    if [ $jude == "yes" ]; then
     30        rm -fr $Work_Home
     31    else
     32        echo "Exit"
     33        exit
     34    fi
     35fi
     36
    2437mkdir -p $Work_Home
    2538mkdir $Work_Home/etc
     
    2841cp -fr $Now_Path/conf $Work_Home/
    2942cp  -fr $Now_Path/uninstall.sh $Work_Home/
     43
     44echo "drbl-virt install completion"
     45echo "Please go to /opt/drbl-virt/ to check"
Note: See TracChangeset for help on using the changeset viewer.