mirror of
https://github.com/mon5termatt/medicat_installer
synced 2024-11-15 12:12:51 +00:00
remove old ventoy folder when reusing dir
This commit is contained in:
parent
063ed2c9ae
commit
cb9d51390e
@ -60,7 +60,7 @@ rm latest
|
|||||||
echo -e "Attempting to download Ventoy Version: ${venver: -6}\n\n\n"
|
echo -e "Attempting to download Ventoy Version: ${venver: -6}\n\n\n"
|
||||||
wget https://github.com/ventoy/Ventoy/releases/download/v${venver: -6}/ventoy-${venver: -6}-linux.tar.gz -O ventoy.tar.gz
|
wget https://github.com/ventoy/Ventoy/releases/download/v${venver: -6}/ventoy-${venver: -6}-linux.tar.gz -O ventoy.tar.gz
|
||||||
tar -xf ventoy.tar.gz
|
tar -xf ventoy.tar.gz
|
||||||
rm ventoy.tar.gz
|
rm -rf ventoy.tar.gz ./ventoy/ventoy-${venver: -6}
|
||||||
mv ventoy-${venver: -6} ventoy
|
mv ventoy-${venver: -6} ventoy
|
||||||
echo -e "\n\n\n\n\n\n"
|
echo -e "\n\n\n\n\n\n"
|
||||||
if [[ -f MediCat.USB.v21.12.7z ]]; then
|
if [[ -f MediCat.USB.v21.12.7z ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user