mirror of
https://github.com/YunoHost-Apps/endi_ynh.git
synced 2024-09-03 18:35:54 +02:00
Restore: fix missing locale gen
This commit is contained in:
parent
725bac63e2
commit
973d471ded
1 changed files with 15 additions and 0 deletions
|
@ -8,6 +8,21 @@
|
|||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# INSTALL NODEJS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing NodeJS..." --weight=1
|
||||
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version="$nodejs_version"
|
||||
|
||||
#=================================================
|
||||
# ENABLE MANDATORY FRENCH LOCALE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Enabling french system locale..." --weight=1
|
||||
|
||||
sed -i 's|^#\? \?\(fr_FR.UTF-8 \?.*\)$|\1|' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE APP MAIN DIR
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue