refactor: uninstall first

This commit is contained in:
WANG Xu 2024-12-18 18:35:03 +08:00
parent 13699f860c
commit 81e98cc07f
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function install_lcov() {
echo -e "\nInstalling..."
local version=$1
cd lcov-${version}
sudo make install
sudo make uninstall && sudo make install
cd ..
echo "lcov version ${version} installed."
}