Fix bad test in postinst

This commit is contained in:
Joshua Boniface 2021-10-19 00:27:12 -04:00
parent 1d7acf62bf
commit 52c3e8ced3
1 changed files with 1 additions and 1 deletions

View File

@ -15,6 +15,6 @@ if systemctl is-active --quiet pvcapid-worker.service; then
systemctl start pvcapid-worker.service systemctl start pvcapid-worker.service
fi fi
if [[ ! -f /etc/pvc/pvcapid.yaml ]]; then if [ ! -f /etc/pvc/pvcapid.yaml ]; then
echo "NOTE: The PVC client API daemon (pvcapid.service) and the PVC provisioner worker daemon (pvcapid-worker.service) have not been started; create a config file at /etc/pvc/pvcapid.yaml, then run the database configuration (/usr/share/pvc/pvc-api-db-upgrade) and start them manually." echo "NOTE: The PVC client API daemon (pvcapid.service) and the PVC provisioner worker daemon (pvcapid-worker.service) have not been started; create a config file at /etc/pvc/pvcapid.yaml, then run the database configuration (/usr/share/pvc/pvc-api-db-upgrade) and start them manually."
fi fi