Am 22.05.2024 um 14:43 schrieb Emmanuel Vadot:
  An easier way is to use BINARY_ALIAS= python3=${PYTHON_CMD}


thanks, a maybe even better solution which I found now is:

su -l git -c "cd /usr/local/www/gitlab && yarn config set python /usr/local/bin/python3.9"

I will update my installation and upgrade instructions accordingly.
I wish I could integrate this into the package, but like this it is also fine.

Only drawback here is, if python is upgraded to a newer version, the command needs to be updated to the new binary too.

Gruß
Matthias

--

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

Reply via email to