diff --git a/diskimage_builder/elements/simple-init/install.d/simple-init-repo-install/40-glean b/diskimage_builder/elements/simple-init/install.d/simple-init-repo-install/40-glean index 18211e86..a7491ab9 100755 --- a/diskimage_builder/elements/simple-init/install.d/simple-init-repo-install/40-glean +++ b/diskimage_builder/elements/simple-init/install.d/simple-init-repo-install/40-glean @@ -21,8 +21,4 @@ fi set -eu set -o pipefail -if [ "$DIB_PYTHON_VERSION" == "3" ]; then - pip3 install /tmp/glean.git -else - pip install /tmp/glean.git -fi +$DIB_PYTHON_PIP install /tmp/glean.git diff --git a/diskimage_builder/elements/simple-init/install.d/simple-init-source-install/40-glean b/diskimage_builder/elements/simple-init/install.d/simple-init-source-install/40-glean index ae1ce320..4dd685ad 100755 --- a/diskimage_builder/elements/simple-init/install.d/simple-init-source-install/40-glean +++ b/diskimage_builder/elements/simple-init/install.d/simple-init-source-install/40-glean @@ -21,8 +21,4 @@ fi set -eu set -o pipefail -if [ "$DIB_PYTHON_VERSION" == "3" ]; then - pip3 install glean -else - pip install glean -fi +$DIB_PYTHON_PIP install glean