test: modify checkpackages scritps

This commit is contained in:
tomchon 2022-08-31 11:35:27 +08:00
parent 6478a2d600
commit c6026f3ac5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ if [[ ${packgeName} =~ "deb" ]];then
echo "./debAuto.sh ${packgeName}" && chmod 755 debAuto.sh && ./debAuto.sh ${packgeName} echo "./debAuto.sh ${packgeName}" && chmod 755 debAuto.sh && ./debAuto.sh ${packgeName}
else else
echo "dpkg -i ${packgeName}" && dpkg -i ${packgeName} echo "dpkg -i ${packgeName}" && dpkg -i ${packgeName}
fi
elif [[ ${packgeName} =~ "rpm" ]];then elif [[ ${packgeName} =~ "rpm" ]];then
cd ${installPath} cd ${installPath}
echo "rpm ${packgeName}" && rpm -ivh ${packgeName} --quiet echo "rpm ${packgeName}" && rpm -ivh ${packgeName} --quiet