cd /mnt/
echo "7================================qt5 install +++++++++"
if [ ! -d "qt5.15.0" ];then
cp /mnt/scripts/qt5.15.0.tgz /mnt/
tar -xf qt5.15.0.tgz
rm -rvf qt5.15.0.tgz
else
if [ -f "qt5.15.0.tgz" ];then
echo "qt5 decompression or remove failed. Decompress again."
rm -rf qt5.15.0
cp /mnt/scripts/qt5.15.0.tgz /mnt/
tar -xf qt5.15.0.tgz
rm -rvf qt5.15.0.tgz
else
echo "qt5 has been installed."
fi
fi
|