mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
No need for external python script anymore
This commit is contained in:
parent
dcc31a4fcd
commit
775faf4ed4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ if [[ ! $? -eq 0 ]]; then
|
|||
fi
|
||||
|
||||
# Check that admin user is an existing account
|
||||
sudo yunohost user list | python ../conf/user_list.py | grep "^$admin$" >/dev/null
|
||||
sudo yunohost user list --json | grep -q '"username": "$admin"'
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
echo "Error : the chosen admin user does not exist"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue