1
0
Fork 0
mirror of https://github.com/YunoHost/yunohost.git synced 2025-11-04 20:38:42 +01:00

[enh] Add warning about deprecated ynh_mkdir_tmp helper

This commit is contained in:
opi 2016-11-29 15:27:51 +01:00 committed by Laurent Peuch
commit 8e811fd0ac

View file

@ -70,5 +70,6 @@ ynh_bind_or_cp() {
# usage: ynh_mkdir_tmp
# | ret: the created directory path
ynh_mkdir_tmp() {
echo "This helper is deprecated, you should use 'mktemp -d' instead." >&2
mktemp -d
}