diff --git a/modules/python3.11/alternatives.sh b/modules/python3.11/alternatives.sh new file mode 100644 index 0000000..4c53777 --- /dev/null +++ b/modules/python3.11/alternatives.sh @@ -0,0 +1,3 @@ +#! /bin/bash +sudo alternatives --install /usr/bin/python python /usr/bin/python3.11 1 +python --version \ No newline at end of file diff --git a/modules/python3.11/module.yaml b/modules/python3.11/module.yaml index adb6ae0..5e03b98 100644 --- a/modules/python3.11/module.yaml +++ b/modules/python3.11/module.yaml @@ -5,4 +5,6 @@ description: "Installs Python 3.11" packages: install: - python3.11-pip - - python3.11-devel \ No newline at end of file + - python3.11-devel +execute: +- script: alternatives.sh \ No newline at end of file