From cb9d51390e004fd301593885a2daa2e4f13c4d0d Mon Sep 17 00:00:00 2001 From: Samega7Cattac Date: Fri, 23 Sep 2022 02:15:33 +0100 Subject: [PATCH] remove old ventoy folder when reusing dir --- Medicat_Installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Medicat_Installer.sh b/Medicat_Installer.sh index 9d765ba..3e12c09 100755 --- a/Medicat_Installer.sh +++ b/Medicat_Installer.sh @@ -60,7 +60,7 @@ rm latest 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 tar -xf ventoy.tar.gz -rm ventoy.tar.gz +rm -rf ventoy.tar.gz ./ventoy/ventoy-${venver: -6} mv ventoy-${venver: -6} ventoy echo -e "\n\n\n\n\n\n" if [[ -f MediCat.USB.v21.12.7z ]]; then