mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Update install.sh
This commit is contained in:
parent
0533563502
commit
431e14cdf0
1 changed files with 17 additions and 17 deletions
|
@ -18,23 +18,6 @@ Show_Help(){
|
|||
"
|
||||
}
|
||||
|
||||
# r:repository; i:init
|
||||
while getopts ":r:"":i:" opt
|
||||
do
|
||||
case $opt in
|
||||
r)
|
||||
repo_name=$OPTARG;;
|
||||
i)
|
||||
repo_init=$OPTARG
|
||||
;;
|
||||
?)
|
||||
echo "no repository"
|
||||
exit 1;;
|
||||
esac
|
||||
done
|
||||
echo $repo_name
|
||||
echo $repo_init
|
||||
|
||||
echo "Pre-installation is starting, please wait for 1-3 minutes..."
|
||||
|
||||
# OracleLinux need install oaclelinux-developer-release-e* oracle-nodejs-release-e* oracle-epel-release-e* in Image before this script
|
||||
|
@ -70,6 +53,23 @@ fi
|
|||
|
||||
sudo echo "Pre-installation has beend completed"
|
||||
|
||||
# r:repository; i:init
|
||||
while getopts ":r:"":i:" opt
|
||||
do
|
||||
case $opt in
|
||||
r)
|
||||
repo_name=$OPTARG;;
|
||||
i)
|
||||
repo_init=$OPTARG
|
||||
;;
|
||||
?)
|
||||
echo "no repository"
|
||||
exit 1;;
|
||||
esac
|
||||
done
|
||||
echo $repo_name
|
||||
echo $repo_init
|
||||
|
||||
cd /tmp
|
||||
rm -rf stackhub
|
||||
sudo git clone --depth=1 https://github.com/Websoft9/stackhub.git
|
||||
|
|
Loading…
Reference in a new issue