From 52c3e8ced3ee7c285c250497937ecd01c13c5d22 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 19 Oct 2021 00:27:12 -0400 Subject: [PATCH] Fix bad test in postinst --- debian/pvc-daemon-api.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/pvc-daemon-api.postinst b/debian/pvc-daemon-api.postinst index a127aae1..6da571a6 100644 --- a/debian/pvc-daemon-api.postinst +++ b/debian/pvc-daemon-api.postinst @@ -15,6 +15,6 @@ if systemctl is-active --quiet pvcapid-worker.service; then systemctl start pvcapid-worker.service 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." fi