> Unfortunately, /usr/share/wwwconfig-common/mysql-createuser.sh does > not tell me if a user already exists, so I have to check before > and drop the user only if it didn't exists.
Why is it needed to drop the user if it exists already? And I don't think a script should delete any users without explicit confirmation from the administrator.