mirror of
https://github.com/YunoHost-Apps/privatebin_ynh.git
synced 2024-09-03 20:15:56 +02:00
commit
d00d239329
2 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ sudo chown root: $nginxconf
|
||||||
sudo chmod 600 $nginxconf
|
sudo chmod 600 $nginxconf
|
||||||
|
|
||||||
sudo yunohost app setting zerobin is_public -v "$is_public"
|
sudo yunohost app setting zerobin is_public -v "$is_public"
|
||||||
if [ $is_public = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
then
|
then
|
||||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -29,7 +29,7 @@ sudo cp ../conf/nginx.conf $nginxconf
|
||||||
sudo chown root: $nginxconf
|
sudo chown root: $nginxconf
|
||||||
sudo chmod 600 $nginxconf
|
sudo chmod 600 $nginxconf
|
||||||
|
|
||||||
if [ $is_public = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
then
|
then
|
||||||
sudo yunohost app setting zerobin skipped_uris -v "/"
|
sudo yunohost app setting zerobin skipped_uris -v "/"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue