mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
look for username in case insensitive way
To work with pre beta 2 installations.
This commit is contained in:
parent
b135694ce8
commit
ed1d8f1846
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ admin_user=$3
|
||||||
|
|
||||||
|
|
||||||
# Check user parameter
|
# Check user parameter
|
||||||
sudo yunohost user list --json | grep -q "\"username\": \"$admin_user\""
|
sudo yunohost user list --json | grep -qi "\"username\": \"$admin_user\""
|
||||||
if [[ ! $? -eq 0 ]]; then
|
if [[ ! $? -eq 0 ]]; then
|
||||||
echo "Wrong user"
|
echo "Wrong user"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -101,4 +101,4 @@ sudo yunohost app setting freshrss skipped_uris -v /api/greader.php
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue