yunohost/data/helpers.d
Maniack Crudelis 47ce6d9e33 New helper ynh_secure_remove (#281)
* New helper ynh_secure_remove
A secure way to remove a file or directory.
Prevent to knew issues.
Tested with this paths:
- / -> Not removed
- /var -> Not removed
- /var/www -> Not removed
- /var/www/file -> Removed
- /opt -> Not removed
- /opt/file -> Removed
- /home/yunohost.app -> Not removed
- /home -> Not removed
- /home/ -> Not removed
- // -> Not removed
- /etc/cron.d/ -> Not removed
- /etc -> Not removed
- /etc/ -> Not removed
- /etc/X11 -> Removed
- /etc/X11/$var -> Removed (if $var is not empty)

* JimboJoe's typo fix
2017-04-30 22:37:52 +02:00
..
backend Failed if $1 not set 2017-03-13 23:29:47 +01:00
filesystem New helper ynh_secure_remove (#281) 2017-04-30 22:37:52 +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 [fix] Documentation typo 2016-07-30 12:19:21 +02:00
network Nouveau helper ynh_normalize_url_path (#234) 2017-03-16 04:58:34 +01: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 New helper ynh_local_curl (#288) 2017-04-06 15:33:56 +02:00