File setup_complete was created too soon on new installs

This commit is contained in:
Arjan H
2023-03-26 14:48:11 +02:00
parent 34acb1b7f2
commit 24b2712373

View File

@@ -199,4 +199,6 @@ fi
chown -R `ls -l PKI.md | cut -d" " -f 3,4 | sed 's/ /:/g'` .
[ -f setup_complete ] || touch setup_complete
if [ -e $PKI_INT_CERT_BASE.key ] && [ -e $PKI_ROOT_CERT_BASE.key ]; then
[ -f setup_complete ] || touch setup_complete
fi