mirror of
https://github.com/YunoHost-Apps/dotclear2_ynh.git
synced 2024-09-03 18:26:29 +02:00
Removed user test, yunohost deal with the issue itself by displaying only existing user
This commit is contained in:
parent
d9bc7b3f19
commit
6848dc8a73
1 changed files with 0 additions and 8 deletions
|
@ -13,14 +13,6 @@ if [[ ! $? -eq 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
admin=$3
|
admin=$3
|
||||||
|
|
||||||
# Check that given user is an existing yunohost user
|
|
||||||
sudo yunohost user list | grep username | cut -d' ' -f6 | grep $admin
|
|
||||||
if [[ ! $? -eq 1 ]]; then
|
|
||||||
echo "I can't find user '$admin' in yunohost's username list, installation canceled"
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
admin_password=$4
|
admin_password=$4
|
||||||
is_public=$5
|
is_public=$5
|
||||||
directory=/var/www/$app/
|
directory=/var/www/$app/
|
||||||
|
|
Loading…
Add table
Reference in a new issue