1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00

Update upgrade

This commit is contained in:
Krakinou 2018-11-24 15:24:35 +01:00 committed by GitHub
parent 42e4222597
commit 3a60557977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ db_name=$(ynh_app_setting_get $app db_name)
cat /etc/yunohost/apps/$app/status.json | grep "matlink"
if [[ $?==0 ]]; then
#add missing info in settings
final_path=var/www/$app
final_path=/var/www/$app
db_name=emailPoubelle
ynh_app_setting_set $app db_name $db_name
ynh_app_setting_set $app final_path $final_path
@ -35,8 +35,8 @@ if [[ $?==0 ]]; then
done
locale-gen
#change folder locale => lang as per src2.0
rm -rf /var/www/$app/locale
mkdir -p /var/www/$app/lang
rm -rf $final_path/locale
mkdir -p $final_path/lang
#add new index.php
cp ../conf/index_source.php $final_path/www/index.php