mirror of
https://github.com/YunoHost-Apps/zerobin_ynh.git
synced 2024-09-03 18:06:01 +02:00
[fix] Add quote around variable.
This commit is contained in:
parent
ddf9cd3889
commit
b9f7d6534b
2 changed files with 5 additions and 5 deletions
|
@ -34,10 +34,10 @@ sudo cp ../conf/nginx.conf $nginxconf
|
|||
sudo chown root: $nginxconf
|
||||
sudo chmod 600 $nginxconf
|
||||
|
||||
sudo yunohost app setting zerobin is_public -v "$is_public"
|
||||
if [ $is_public = "Yes" ];
|
||||
sudo yunohost app setting zerobin is_public -v "$is_public"
|
||||
if [ "$is_public" = "Yes" ];
|
||||
then
|
||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||
fi
|
||||
|
||||
sudo service nginx reload
|
||||
|
|
|
@ -29,9 +29,9 @@ sudo cp ../conf/nginx.conf $nginxconf
|
|||
sudo chown root: $nginxconf
|
||||
sudo chmod 600 $nginxconf
|
||||
|
||||
if [ $is_public = "Yes" ];
|
||||
if [ "$is_public" = "Yes" ];
|
||||
then
|
||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||
fi
|
||||
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Reference in a new issue