1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

[fix] Add quote around variable.

This commit is contained in:
opi 2014-07-22 21:13:58 +02:00
parent 2c6a89f068
commit 50b43b4aaf
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/my_webapp.conf
# Make app public if necessary
sudo yunohost app setting my_webapp is_public -v "$is_public"
if [ $is_public = "Yes" ];
if [ "$is_public" = "Yes" ];
then
sudo yunohost app setting my_webapp skipped_uris -v "/"
fi

View file

@ -17,7 +17,7 @@ sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/my_webapp.conf
# Make app public if necessary
if [ $is_public = "Yes" ];
if [ "$is_public" = "Yes" ];
then
sudo yunohost app setting my_webapp skipped_uris -v "/"
fi