|
|
@ -60,6 +60,16 @@ case $(lsb_release -is) in |
|
|
|
fi |
|
|
|
sed -ri 's/^\s*#\s*(en_US\.UTF-?8.*)\s*$/\1/g' /etc/locale.gen |
|
|
|
locale-gen |
|
|
|
|
|
|
|
## Debian11 doesn't have a 'python' executable but only a |
|
|
|
## 'python3' executable some python script don't care about |
|
|
|
## the version, they just want a 'python' executable. |
|
|
|
if ! type -p python >/dev/null 2>&1; then |
|
|
|
if py3=$(type -p python3); then |
|
|
|
echo "No 'python' available in \$PATH, but 'python3' found, using it." >&2 |
|
|
|
ln -svf "$py3" /usr/local/bin/python |
|
|
|
fi |
|
|
|
fi |
|
|
|
;; |
|
|
|
esac |
|
|
|
|
|
|
|