mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
Merge d28798fa9e
into b135694ce8
This commit is contained in:
commit
3dfcec59e2
1 changed files with 1 additions and 11 deletions
|
@ -3,16 +3,6 @@
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$1
|
domain=$1
|
||||||
path=$2
|
path=$2
|
||||||
admin_user=$3
|
|
||||||
|
|
||||||
|
|
||||||
# Check user parameter
|
|
||||||
sudo yunohost user list --json | grep -q "\"username\": \"$admin_user\""
|
|
||||||
if [[ ! $? -eq 0 ]]; then
|
|
||||||
echo "Wrong user"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
sudo yunohost app setting freshrss admin_user -v $admin_user
|
|
||||||
|
|
||||||
# Check domain/path availability
|
# Check domain/path availability
|
||||||
sudo yunohost app checkurl $domain$path -a freshrss
|
sudo yunohost app checkurl $domain$path -a freshrss
|
||||||
|
|
Loading…
Add table
Reference in a new issue