test: modify checkpackages scritps

This commit is contained in:
tomchon 2022-08-31 11:52:14 +08:00
parent a76cd46010
commit d59edad610
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ if [[ ${packgeName} =~ "deb" ]];then
fi fi
elif [[ ${packgeName} =~ "rpm" ]];then elif [[ ${packgeName} =~ "rpm" ]];then
cd ${installPath} cd ${installPath}
echo "rpm ${packgeName}" && rpm -ivh ${packgeName} --quiet sudo rpm -e tdengine
sudo rpm -e taostools
echo "rpm -ivh ${packgeName} --quiet " && rpm -ivh ${packgeName} --quiet
elif [[ ${packgeName} =~ "tar" ]];then elif [[ ${packgeName} =~ "tar" ]];then
cd ${oriInstallPath} cd ${oriInstallPath}
if [ ! -f {originPackageName} ];then if [ ! -f {originPackageName} ];then