1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/privatebin_ynh.git synced 2024-09-03 20:15:56 +02:00

save is_public setting

This commit is contained in:
Julien Malik 2014-04-07 01:17:31 +02:00
parent 7eabeebc00
commit 2bb9133517

View file

@ -31,6 +31,7 @@ sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf
sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx.conf sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx.conf
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/zerobin.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/zerobin.conf
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 "/"