1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-20 04:41:17 +00:00

Fix: Do not copy folder into folder

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-12-21 01:18:49 +01:00
parent 5c77feeefa
commit ef64b715cf
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -2,7 +2,7 @@
set -euo pipefail
# Copy frontend if not available
[ -d /data/frontend/index.html ] || cp -r /usr/local/share/nginx-sso/frontend /data/frontend
[ -d /data/frontend/index.html ] || cp -r /usr/local/share/nginx-sso/frontend /data/
[ -e /data/config.yaml ] || {
cp /usr/local/share/nginx-sso/config.yaml /data/config.yaml