Clean up previous upgrade dirs in temp

This commit is contained in:
TOoSmOotH
2020-12-15 16:23:49 -05:00
parent 06dd3432f8
commit 7909834722

View File

@@ -463,6 +463,8 @@ if [ $is_airgap -eq 0 ]; then
airgap_mounted
else
echo "Cloning Security Onion github repo into $UPDATE_DIR."
echo "Removing previous upgrade sources."
rm -rf $UPDATE_DIR
clone_to_tmp
fi
echo "Generating new repo archive"