diff options
Diffstat (limited to 'ero1/clear.sh')
| -rwxr-xr-x | ero1/clear.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ero1/clear.sh b/ero1/clear.sh new file mode 100755 index 0000000..91b685e --- /dev/null +++ b/ero1/clear.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +echo "Starting the deactivation and clearing process" + +# echo "Deactivating the venv" +# +# deactivate +# +# res_code=$? +# +# if [ $res_code -ne 0 ]; +# then +# echo "failed to deactivate the venv" +# return; +# fi + +rm -r venv + +res_code=$? + +if [ $res_code -ne 0 ]; +then + echo "failed to delete the venv directory" + return; +fi + +echo "venv correctly cleared at $PWD" |
