yunohost/data/helpers.d
Maniack Crudelis c0a40dd2df New helpers ynh_store_file_checksum and ynh_backup_if_checksum_is_different (#286)
* New helpers ynh_store_checksum_config and ynh_compare_checksum_config

Helpers for avoid destruction of personalised config files.
If the config file was manually modified, make a backup of it.

The name of this backup is returned, so the packager can choose which of this both file will used by default.

* Implement @JimboJoe's comments.
* Setting local variables as local
* Adding warning about $app that should be defined
* Remove "globally" in comment to limit confusion
* Remove "globally" in comment to limit confusion
* Remove compress and use /home/yunohost.conf/backup
* Changing timestamp format to match regen-conf's
* Tested and fixed ;)
2017-05-22 15:24:16 +02:00
..
backend Failed if $1 not set 2017-03-13 23:29:47 +01:00
filesystem New helpers ynh_store_file_checksum and ynh_backup_if_checksum_is_different (#286) 2017-05-22 15:24:16 +02:00
ip [enh] move /usr/share/yunohost/apps/helpers to /usr/share/yunohost/helpers since it became of more general use 2016-03-12 00:12:59 +01:00
mysql Nouveaux helpers ynh_mysql_generate_db et ynh_mysql_remove_db (#236) 2017-05-08 19:05:49 +02:00
network Nouveau helper ynh_webpath_available et ynh_webpath_register (#235) 2017-05-06 16:53:54 +02:00
package [fix] Avoid to remove a apt package accidentally (#292) 2017-04-06 15:34:17 +02:00
print Hack dégueux pour éviter d'écrire dans le log cli 2017-01-15 16:05:50 +01:00
setting [fix] Call yunohost commands with --quiet in setting helpers 2016-03-26 19:15:53 +01:00
string New helper ynh_replace_string (#280) 2017-04-02 23:52:11 +02:00
system [enh] New helper ynh_abort_if_errors (#245) 2017-03-17 16:16:36 +01:00
user Nouveaux helpers ynh_system_user_create et ynh_system_user_delete 2017-01-23 00:48:56 +01:00
utils Fix ynh_local_curl (#306) 2017-05-11 23:01:49 +02:00