[fix] Use one file for all user related helpers.

This commit is contained in:
opi 2015-09-03 14:36:27 +02:00
parent 42fa6a3c32
commit 441b89f048

View file

@ -1,3 +1,5 @@
# Check if a user exists
ynh_user_exists() { ynh_user_exists() {
sudo yunohost user list --json | grep -q "\"username\": \"${1}\"" sudo yunohost user list --json | grep -q "\"username\": \"${1}\""
} }