Browse Source
Merge pull request #3498 from tresni/synology_dsm
FIX: Synology sets "default" on wrong certificate
pull/3499/head
neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
deploy/synology_dsm.sh
|
|
@ -121,7 +121,7 @@ synology_dsm_deploy() { |
|
|
|
# we've verified this certificate description is a thing, so save it |
|
|
|
_savedeployconf SYNO_Certificate "$SYNO_Certificate" |
|
|
|
|
|
|
|
default=false |
|
|
|
default="" |
|
|
|
if echo "$response" | sed -n "s/.*\"desc\":\"$SYNO_Certificate\",\([^{]*\).*/\1/p" | grep -- 'is_default":true' >/dev/null; then |
|
|
|
default=true |
|
|
|
fi |
|
|
|