1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00
This commit is contained in:
Yalh 2019-01-27 04:15:17 +01:00
parent bd8978819d
commit a9a0904c72

View file

@ -56,8 +56,8 @@ app=$YNH_APP_INSTANCE_NAME
### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app". ### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app".
### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app" ### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app"
final_path=/usr/share/z-push final_path=/usr/share/z-push
config_path=/etc/z-push/ config_path=/etc/z-push
state_path=/var/lib/z-push/ state_path=/var/lib/z-push
#test ! -e "$final_path" || ynh_die "This path already contains a folder" #test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax # Normalize the url path syntax
@ -290,7 +290,7 @@ else
# Configuration of imap # Configuration of imap
sudo cp ../conf/imap.conf.php $config_path/imap.conf.php sudo cp ../conf/imap.conf.php $config_path/imap.conf.php
ynh_replace_string "__DOMAIN__" "$domainn" "$config_path/imap.conf.php" ynh_replace_string "__DOMAIN__" "$domain" "$config_path/imap.conf.php"
ynh_replace_string "__IMAP_MEETING_USE_CALDAV__" "false" "$config_path/imap.conf.php" ynh_replace_string "__IMAP_MEETING_USE_CALDAV__" "false" "$config_path/imap.conf.php"
# Checksum of config files # Checksum of config files