diff --git a/script/install/install_debian_dependency.sh b/script/install/install_debian_dependency.sh index aaac1f0..5afba64 100755 --- a/script/install/install_debian_dependency.sh +++ b/script/install/install_debian_dependency.sh @@ -21,6 +21,9 @@ elif [ "18.04" == "${UBUNTU_VERSION}" ]; then WKHTMLTOX_X64=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb elif [[ "${OS}" == "Debian" ]]; then WKHTMLTOX_X64=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb +elif [[ "${OS}" == *"Ubuntu"* ]]; then + echo "Your version of Ubuntu is not supported, only support 18.04, 20.04 and 22.04" + WKHTMLTOX_X64=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb else echo "Your version of Ubuntu is not supported, only support 18.04, 20.04 and 22.04" exit 1 diff --git a/script/install/install_dev.sh b/script/install/install_dev.sh index 739d00a..f655869 100755 --- a/script/install/install_dev.sh +++ b/script/install/install_dev.sh @@ -3,18 +3,18 @@ if [[ "${OSTYPE}" == "linux-gnu" ]]; then OS=$(lsb_release -si) VERSION=$(cat /etc/issue) - if [[ "${OS}" == "Ubuntu" ]]; then - if [[ "${VERSION}" == Ubuntu\ 18.04* || "${VERSION}" == Ubuntu\ 20.04* || "${VERSION}" == Ubuntu\ 22.04* ]]; then + if [[ "${OS}" == *"Ubuntu"* ]]; then + if [[ "${VERSION}" == Ubuntu\ 18.04* || "${VERSION}" == Ubuntu\ 20.04* || "${VERSION}" == Ubuntu\ 22.04* || "${VERSION}" == Ubuntu\ 22.10* || "${VERSION}" == Ubuntu\ 23.04* || "${VERSION}" == Ubuntu\ 23.10* ]]; then echo "\n---- linux-gnu installation process started ----" ./script/install/install_debian_dependency.sh else - echo "Your version is not supported, only support 18.04, 20.04 and 22.04 : ${VERSION}" + echo "Your version is not supported, only support 18.04, 20.04 and 22.04 - 23.10 : ${VERSION}" fi - elif [[ "${OS}" == "Debian" ]]; then + elif [[ "${OS}" == *"Debian"* ]]; then ./script/install/install_debian_dependency.sh else ./script/install/install_debian_dependency.sh - echo "Your Linux system is not supported, only support Ubuntu 18.04 or Ubuntu 20.04 or Ubuntu 22.04." + echo "Your Linux system is not supported, only support Ubuntu 18.04 or Ubuntu 20.04 or Ubuntu 22.04 - Ubuntu 23.10." fi elif [[ "${OSTYPE}" == "darwin"* ]]; then echo "\n---- Darwin installation process started ----" diff --git a/script/install/install_locally.sh b/script/install/install_locally.sh index 8d49c10..912d9f4 100755 --- a/script/install/install_locally.sh +++ b/script/install/install_locally.sh @@ -42,6 +42,9 @@ echo ${LOCAL_PYTHON_EXEC} if [[ ! -d "${PYENV_PATH}" ]]; then echo -e "\n---- Installing pyenv in ${PYENV_PATH} ----" + # export PYENV_GIT_TAG=v2.3.35 + # To change version + # rm ~/.pyenv to uninstall it curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash fi