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:
parent
2c6a89f068
commit
50b43b4aaf
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue