mirror of
https://github.com/YunoHost-Apps/diacamma_ynh.git
synced 2024-09-03 18:26:10 +02:00
correct
This commit is contained in:
parent
a07e5dcea1
commit
19ee4ac729
3 changed files with 9 additions and 10 deletions
|
@ -50,9 +50,9 @@ ram.runtime = "50M"
|
|||
ask.fr = "Application"
|
||||
help.fr = "Quelle application voulez-vous installer ?"
|
||||
type = "string"
|
||||
choices.asso = "Asso"
|
||||
choices.syndic = "Syndic"
|
||||
choices.standard = "Standard"
|
||||
choices.asso = "Diacamma Asso"
|
||||
choices.syndic = "Diacamma Syndic"
|
||||
choices.standard = "Lucterios Standard"
|
||||
|
||||
[install.language]
|
||||
ask.en = "Choose the application language"
|
||||
|
|
|
@ -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.member,diacamma.event,diacamma.accounting,diacamma.invoice,diacamma.payoff"
|
||||
MODULES="lucterios.contacts,lucterios.documents,lucterios.mailing,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.condominium,diacamma.accounting,diacamma.payoff"
|
||||
MODULES="lucterios.contacts,lucterios.documents,lucterios.mailing,diacamma.accounting,diacamma.payoff,diacamma.condominium"
|
||||
APPLITYPE="diacamma.syndic"
|
||||
fi
|
||||
|
||||
|
|
|
@ -11,13 +11,12 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
pushd $install_dir
|
||||
. venv/bin/activate
|
||||
lucterios_admin.py check
|
||||
lucterios_admin.py update
|
||||
lucterios_admin.py refreshall
|
||||
venv/bin/lucterios_admin.py check
|
||||
venv/bin/lucterios_admin.py update
|
||||
venv/bin/lucterios_admin.py refreshall
|
||||
popd
|
||||
|
||||
refresh_collect
|
||||
popd
|
||||
|
||||
chmod 400 "$install_dir/"
|
||||
chown ${app}:${app} "$install_dir/"
|
||||
|
|
Loading…
Add table
Reference in a new issue