1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update install avoid sed -i

This commit is contained in:
Mickael-Martin 2019-07-05 13:52:07 +02:00
parent 668435d13d
commit 0d98305e68

View file

@ -107,7 +107,7 @@ ynh_install_app_dependencies libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libapru
dpkg -i --force-confmiss /var/cache/apt/archives/zabbix-server-mysql*
DEBIAN_FRONTEND=noninteractive apt-mark hold zabbix-server-mysql zabbix-frontend-php
sed -i "s/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/g" /etc/locale.gen
ynh_replace_string --match_string="# fr_FR.UTF-8 UTF-8" --replace_string="fr_FR.UTF-8 UTF-8" --target_file=/etc/locale.gen
locale-gen
ln -s /usr/share/zabbix "$final_path"