yunohost/data
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
..
actionsmap [enh] Allow applications to ship a script to change its url (#185) 2017-04-18 00:38:40 +02:00
bash-completion.d [enh] Add bash completion for bin/yunohost 2015-11-13 13:21:30 +01:00
helpers.d New helper ynh_secure_remove (#281) 2017-04-30 22:37:52 +02:00
hooks [fix] Properly manage resolv.conf, dns resolvers and dnsmasq (#290) 2017-04-18 00:37:21 +02:00
other [enh] Remove unused checkupdate and upgrade scripts 2016-03-14 08:58:06 +01:00
templates Changing nginx ciphers to intermediate compatiblity (#298) 2017-04-28 17:37:34 +02:00
helpers [fix] follow up directory move /usr/share/yunohost/helpers 2016-03-12 00:15:15 +01:00