mirror of
https://github.com/YunoHost-Apps/diacamma_ynh.git
synced 2024-09-03 18:26:10 +02:00
Simplify module list definition
This commit is contained in:
parent
aece665e68
commit
4e6865d7bd
1 changed files with 3 additions and 3 deletions
|
@ -9,12 +9,12 @@ MODULES="lucterios.contacts,lucterios.documents,lucterios.mailing"
|
|||
DATABASE="postgresql:name=$db_name,user=$db_user,password=$db_pwd,host=localhost"
|
||||
if [ "$lct_appli" == "asso" ]
|
||||
then
|
||||
MODULES="lucterios.contacts,lucterios.documents,lucterios.mailing,diacamma.accounting,diacamma.payoff,diacamma.invoice,diacamma.member,diacamma.event"
|
||||
MODULES+="diacamma.accounting,diacamma.payoff,diacamma.invoice,diacamma.member,diacamma.event"
|
||||
APPLITYPE="diacamma.asso"
|
||||
fi
|
||||
if [ "$lct_appli" == "syndic" ]
|
||||
then
|
||||
MODULES="lucterios.contacts,lucterios.documents,lucterios.mailing,diacamma.accounting,diacamma.payoff,diacamma.condominium"
|
||||
MODULES+="diacamma.accounting,diacamma.payoff,diacamma.condominium"
|
||||
APPLITYPE="diacamma.syndic"
|
||||
fi
|
||||
|
||||
|
@ -51,4 +51,4 @@ Params.setvalue('mailing-smtpport', 1025)
|
|||
venv/bin/python3 manage_inst-${app}.py shell < /tmp/diacamma_script.py
|
||||
venv/bin/lucterios_admin.py security -n inst-${app} -e "MODE=0"
|
||||
popd
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue