mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Simplification is_public
This commit is contained in:
parent
17cb4c252f
commit
348073eb24
1 changed files with 4 additions and 4 deletions
|
@ -49,12 +49,12 @@ sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
|||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$sitename.conf
|
||||
|
||||
# Make app public if necessary
|
||||
sudo yunohost app setting $app is_public -v "$is_public"
|
||||
if [ "$is_public" = "Yes" ];
|
||||
#sudo yunohost app setting $app is_public -v "$is_public"
|
||||
if [ $is_public = "Yes" ];
|
||||
then
|
||||
sudo yunohost app setting $app skipped_uris -v "/"
|
||||
else
|
||||
sudo yunohost app setting $app protected_uris -v "/"
|
||||
#else
|
||||
# sudo yunohost app setting $app protected_uris -v "/"
|
||||
fi
|
||||
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
|
|
Loading…
Add table
Reference in a new issue