From ab7ae6cddd1af0254fcb874837296c6eefc11aa9 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 6 Jul 2023 10:17:14 -0400 Subject: [PATCH] fix cp for x509_v2.py --- setup/so-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 79c051e23..a3d500563 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2048,7 +2048,8 @@ saltify() { # this can be removed when https://github.com/saltstack/salt/issues/64195 is resolved if [ $SALTVERSION == "3006.1" ]; then - logCmd "echo y | cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" + info "Salt version 3006.1 found. Patching /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" + \cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" fi }