mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
Backup config
This commit is contained in:
parent
a12f65d41e
commit
87e944c107
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ then #Configuration InfCloud
|
|||
;;
|
||||
esac
|
||||
sudo yunohost app setting $app language -v $language
|
||||
CHECK_MD5_CONFIG "config.js" "$final_path/infcloud/config.js" # Enregistre la somme de contrôle du fichier de config
|
||||
CHECK_MD5_CONFIG "config.js" "$final_path/infcloud/config.js" # Créé un backup du fichier de config si il a été modifié.
|
||||
sudo cp ../conf/config.js "$final_path/infcloud/"
|
||||
sudo sed -i "s@__DOMAIN__@$domain@g" "$final_path/infcloud/config.js"
|
||||
sudo sed -i "s@__PATH__@$path@g" "$final_path/infcloud/config.js"
|
||||
|
|
Loading…
Reference in a new issue