Skip to content

Commit

Permalink
Mise à jour du script d'installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Oct 1, 2023
1 parent e127949 commit e497bc9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions scripts/define_variable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ if [[ $ZDS_VENV == "" ]]; then
ZDS_VENV="zdsenv"
fi

if [[ $ZDS_VENV_VERSION == "" ]]; then
ZDS_VENV_VERSION="20.24.5"
fi

ZDS_NODE_VERSION=$(cat $ZDSSITE_DIR/.nvmrc)

if [[ $ZDS_NVM_VERSION == "" ]]; then
ZDS_NVM_VERSION="0.33.11"
ZDS_NVM_VERSION="0.39.5"
fi

if [[ $ZDS_ELASTIC_VERSION == "" ]]; then
Expand All @@ -19,7 +23,7 @@ if [[ $ZDS_LATEX_REPO == "" ]]; then
fi

if [[ $ZDS_JDK_VERSION == "" ]]; then
ZDS_JDK_VERSION="11.0.14.1"
ZDS_JDK_VERSION="11.0.20.1"
# shellcheck disable=SC2034
ZDS_JDK_REV="1"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/dependencies/arch.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#title=Arch
#desc=Utilisation de pacman / Testé sur Arch
#desc=Utilisation de pacman / Non testé sur les versions récentes
#updatecmd=pacman -Syu --noconfirm
#installcmd=pacman -S --noconfirm
git
Expand Down
2 changes: 1 addition & 1 deletion scripts/dependencies/debian.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#title=Debian
#desc=Utilisation de apt-get / Testé sur Debian Buster (10), Bullseye (11), Bookworm (12)
#desc=Utilisation de apt-get / Testé sur Debian Bullseye (11), Bookworm (12)
#updatecmd=apt-get -y update
#installcmd=apt-get -y install
git
Expand Down
2 changes: 1 addition & 1 deletion scripts/dependencies/fedora.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#title=Fedora
#desc=Utilisation de dnf / Testé sur Fedora 29, 30
#desc=Utilisation de dnf / Non testé sur les versions récentes
#installcmd=dnf -y install
git
wget
Expand Down
2 changes: 1 addition & 1 deletion scripts/dependencies/ubuntu.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#title=Ubuntu
#desc=Utilisation de apt-get / Testé sur : 18.04 LTS, 19.04, 20.04 LTS & Linux Mint 19
#desc=Utilisation de apt-get / Testé sur : 22.04 LTS
#updatecmd=apt-get -y update
#installcmd=apt-get -y install
git
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_zds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ if ! $(_in "-virtualenv" $@) && ( $(_in "+virtualenv" $@) || $(_in "+base" $@)
fi
fi

print_info "* [+virtualenv] installing \`virtualenv 16.2.0\` with pip"
pip3 install --user virtualenv==16.2.0
print_info "* [+virtualenv] installing \`virtualenv $ZDS_VENV_VERSION\` with pip"
pip3 install --user virtualenv==$ZDS_VENV_VERSION

print_info "* [+virtualenv] creating virtualenv"
err=$(python3 -m venv $ZDS_VENV 3>&1 1>&2 2>&3 | sudo tee /dev/stderr)
Expand Down

0 comments on commit e497bc9

Please sign in to comment.