From 1d6817e0c3cf02e6f17a15bf1c1fde8b1fbd9049 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 25 Jun 2024 16:36:00 -0500 Subject: [PATCH] Adding fix for mkdir in postinstall --- packaging/deb/cdk-validium-node/DEBIAN/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/deb/cdk-validium-node/DEBIAN/postinst b/packaging/deb/cdk-validium-node/DEBIAN/postinst index 8b8d7da73f..6dc1d8ccd4 100755 --- a/packaging/deb/cdk-validium-node/DEBIAN/postinst +++ b/packaging/deb/cdk-validium-node/DEBIAN/postinst @@ -6,7 +6,7 @@ if [ -d "/opt/cdk-validium-node" ] then echo "Directory /opt/cdk-validium-node exists." else - mkdir -p /opt/cdk-validium-node + sudo mkdir -p /opt/cdk-validium-node sudo chown -R cdk-validium-node /opt/cdk-validium-node fi -sudo systemctl daemon-reload \ No newline at end of file +sudo systemctl daemon-reload