test:modify two options that downloads the installPackages
This commit is contained in:
parent
df2c9819a6
commit
e238e6e946
|
@ -76,7 +76,7 @@ file=$1
|
||||||
versionPath=$2
|
versionPath=$2
|
||||||
sourceP=$3
|
sourceP=$3
|
||||||
nasServerIP="192.168.1.131"
|
nasServerIP="192.168.1.131"
|
||||||
packagePath="/nas/TDengine/v${versionPath}/"
|
packagePath="/nas/TDengine/v${versionPath}/community"
|
||||||
if [ -f ${file} ];then
|
if [ -f ${file} ];then
|
||||||
echoColor YD "${file} already exists ,it will delete it and download it again "
|
echoColor YD "${file} already exists ,it will delete it and download it again "
|
||||||
rm -rf ${file}
|
rm -rf ${file}
|
||||||
|
@ -151,9 +151,9 @@ if [ -d ${installPath}/${tdPath} ] ;then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echoColor G "===== download installPackage ====="
|
echoColor G "===== download installPackage ====="
|
||||||
cd ${installPath} && wgetFile ${packgeName} ${version} ${sourcePath}
|
cd ${installPath} && wgetFile ${packgeName} ${version} ${sourcePath}
|
||||||
cd ${oriInstallPath} && wgetFile ${originPackageName} ${originversion} ${sourcePath}
|
cd ${oriInstallPath} && wgetFile ${originPackageName} ${originversion} ${sourcePath}
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${installPath}
|
cd ${installPath}
|
||||||
cp -r ${scriptDir}/debRpmAutoInstall.sh .
|
cp -r ${scriptDir}/debRpmAutoInstall.sh .
|
||||||
|
|
Loading…
Reference in New Issue