Browse Source
Merge pull request #109 from mirzak/fix-servert-crt-expansion
fix variable expansions for /etc/mender/servert.crt path
1.2.x
Mirza Krak
6 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
-
convert-stage-4.sh
|
|
@ -206,7 +206,7 @@ install_files() { |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -e "${primary_dir}/${sysconfdir}/server.crt" ]; then |
|
|
|
jq_inplace '.ServerCertificate = \"'${primary_dir}'/'${sysconfdir}'/server.crt\"' ${primary_dir}/${sysconfdir}/mender.conf |
|
|
|
jq_inplace '.ServerCertificate = \"/'${sysconfdir}'/server.crt\"' ${primary_dir}/${sysconfdir}/mender.conf |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|