diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /ero1/clear.sh | |
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" |
