add variable OneTeam_pos
This commit is contained in:
parent
69a9e17cdb
commit
b8696b1937
|
@ -19,6 +19,7 @@ ENV GnuHealth="False"
|
||||||
ENV Etrivial="False"
|
ENV Etrivial="False"
|
||||||
ENV Trytonar="False"
|
ENV Trytonar="False"
|
||||||
ENV OneTeam="False"
|
ENV OneTeam="False"
|
||||||
|
ENV OneTeam_pos="False"
|
||||||
ENV Presik="False"
|
ENV Presik="False"
|
||||||
ENV Datalife="False"
|
ENV Datalife="False"
|
||||||
ENV NaNtic="False"
|
ENV NaNtic="False"
|
||||||
|
|
|
@ -100,6 +100,48 @@ if [ ${OneTeam} = "True" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ ${OneTeam_pos} = "True" ]; then
|
||||||
|
apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
git \
|
||||||
|
fossil \
|
||||||
|
pkg-config \
|
||||||
|
libxml2-dev \
|
||||||
|
libxmlsec1-dev \
|
||||||
|
libxmlsec1-openssl \
|
||||||
|
libffi-dev \
|
||||||
|
build-essential \
|
||||||
|
python3-dev \
|
||||||
|
python3-qrcode \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& pip3 install --upgrade pip \
|
||||||
|
&& pip3 install pytz \
|
||||||
|
"git+https://github.com/bit4bit/facho.git"
|
||||||
|
prefix="trytondo-"
|
||||||
|
team_org="OneTeam"
|
||||||
|
pip="True"
|
||||||
|
get_one_team=( `${PYTHON_VERSION} $multi_migrate list-repo-token --domain ${GITEA_DOMAIN} --team_org $team_org --access_token ${GITEA_ACCESS_TOKEN} --verbose True` )
|
||||||
|
clone_module $team_org ${TRYTOND_VERSION} $prefix "${get_one_team[@]}"
|
||||||
|
|
||||||
|
inactive_modules_trytond=(
|
||||||
|
sale_payment
|
||||||
|
)
|
||||||
|
inactive_module "trytond-" $pip "${inactive_modules_trytond[@]}"
|
||||||
|
|
||||||
|
modules_presik=(
|
||||||
|
trytonpsk-account_co_pyme )
|
||||||
|
clone_module "Presik" "False" "trytonpsk-" "${modules_presik[@]}"
|
||||||
|
modules_nantic=(
|
||||||
|
trytond-sale_w_tax
|
||||||
|
trytond-sale_pos
|
||||||
|
trytond-sale_shop
|
||||||
|
trytond-sale_payment
|
||||||
|
trytond-purchase_discount
|
||||||
|
trytond-account_invoice_discount )
|
||||||
|
clone_module "NaNtic" ${TRYTOND_VERSION} "trytond-" "${modules_nantic[@]}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ ${Presik} = "True" ]; then
|
if [ ${Presik} = "True" ]; then
|
||||||
prefix="trytonpsk-"
|
prefix="trytonpsk-"
|
||||||
team_org="Presik"
|
team_org="Presik"
|
||||||
|
|
Loading…
Reference in New Issue