1
0
Fork 0
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:
Alexandre Aubin 2023-12-15 15:13:07 +01:00
parent aece665e68
commit 4e6865d7bd

View file

@ -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