Skip to content

Commit

Permalink
fix environment already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Aug 29, 2023
1 parent 27b0a22 commit 6261374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-nuclear-boy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ setup_python_env() {
echo "$version" >${env_dir}/var/log/Version.id
echo "Python virtual env created."
}
if [ -d "${env_dir}" ]; then
if [ -d "${env_dir}/bin" ]; then
echo "Virtual environment already exists!"
core_old_version=$(cat ${env_dir}/var/log/Version.id)
core_new_version=$version
Expand Down

0 comments on commit 6261374

Please sign in to comment.