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

This commit is contained in:
opi 2015-09-03 14:36:27 +02:00 committed by kload
parent 258a9d6694
commit 481fb00510

View file

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