Empty the post-activate hook only if it exists

This commit is contained in:
cmdr2 2022-09-26 23:02:03 +05:30
parent defabf4324
commit 939dd0b207

View File

@ -1,7 +1,9 @@
@echo off
@REM Delete the post-activate hook from the old installer
echo. > installer\etc\conda\activate.d\post_activate.bat
if exist "installer\etc\conda\activate.d\post_activate.bat" (
echo. > installer\etc\conda\activate.d\post_activate.bat
)
@call installer\Scripts\activate.bat