1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Have to write it on only one line

This commit is contained in:
ewilly 2016-04-24 17:45:34 +02:00
parent 6d70c0458d
commit ad90491c14

View file

@ -114,12 +114,7 @@ then
pathluaregex=$(echo "$path" | sed -e 's/[]().%+*?[^$[]/\%&/g' | sed -e 's/\-/\%&/g')
# redirect to SSOwat login in
sudo yunohost app setting $app unprotected_uris -d
sudo yunohost app setting $app unprotected_regex -v \
"$domainluaregex$pathluaregex/index.php%?f=.+$", \
"$domainluaregex$pathluaregex/index.php%?zipfolder=.+$", \
"$domainluaregex$pathluaregex/private/temp/.+%.zip$", \
"$domainluaregex$pathluaregex/core/js/.*$", \
"$domainluaregex$pathluaregex/templates/.*$"
sudo yunohost app setting $app unprotected_regex -v "$domainluaregex$pathluaregex/index.php%?f=.+$","$domainluaregex$pathluaregex/index.php%?zipfolder=.+$","$domainluaregex$pathluaregex/private/temp/.+%.zip$","$domainluaregex$pathluaregex/core/js/.*$","$domainluaregex$pathluaregex/templates/.*$"
fi
# restart services