1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

error on ynh_app_setting_set

This commit is contained in:
Clément 2017-02-13 22:40:26 +01:00
parent 11aebfd9dd
commit 47b3320574

View file

@ -22,7 +22,7 @@ db_name=$app
# Check user parameter if not empty # Check user parameter if not empty
if [[ $admin_user != '' ]]; then if [[ $admin_user != '' ]]; then
ynh_user_exists $admin_user || ynh_die "Wrong user" ynh_user_exists $admin_user || ynh_die "Wrong user"
ynh_app_setting_set freshrss admin_user $admin_user ynh_app_setting_set $app admin_user $admin_user
fi fi
# Check domain/path availability # Check domain/path availability
@ -88,8 +88,7 @@ sudo chmod 644 "$cron_path"
sudo chown -R www-data: $FINAL_PATH/data/ sudo chown -R www-data: $FINAL_PATH/data/
sudo chown -R www-data: $FINAL_PATH/extensions/ sudo chown -R www-data: $FINAL_PATH/extensions/
#skip api directory #skip api directory
ynh_app_setting_set "$app" skipped_uris -v /api/greader.php ynh_app_setting_set "$app" skipped_uris /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