mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-20 12:51:17 +00:00
Fix: Do not copy folder into folder
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5c77feeefa
commit
ef64b715cf
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Copy frontend if not available
|
# 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 ] || {
|
[ -e /data/config.yaml ] || {
|
||||||
cp /usr/local/share/nginx-sso/config.yaml /data/config.yaml
|
cp /usr/local/share/nginx-sso/config.yaml /data/config.yaml
|
||||||
|
|
Loading…
Reference in a new issue