summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-09-20 08:59:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-09-20 09:02:44 -0700
commitc8d5110b44d99d691590c7a4215ec4f44e3f1adc (patch)
tree9e7076efd4dab0f9b5523cd0b604f83b591537a9
parent6d671b711a5b17d21cf46eb3f4f43bfce474e338 (diff)
downloadchef-c8d5110b44d99d691590c7a4215ec4f44e3f1adc.tar.gz
don't setup broken symlink to knife
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rwxr-xr-xomnibus/package-scripts/angrychef/postinst1
-rwxr-xr-xomnibus/package-scripts/chef/postinst1
2 files changed, 0 insertions, 2 deletions
diff --git a/omnibus/package-scripts/angrychef/postinst b/omnibus/package-scripts/angrychef/postinst
index c8f75105ce..aa3f5d8468 100755
--- a/omnibus/package-scripts/angrychef/postinst
+++ b/omnibus/package-scripts/angrychef/postinst
@@ -87,7 +87,6 @@ fi
if [ -f "$INSTALLER_DIR/bin/chef-shell" ]; then
ln -sf $INSTALLER_DIR/bin/chef-shell $PREFIX/bin || error_exit "Cannot link chef-shell to $PREFIX/bin"
fi
-ln -sf $INSTALLER_DIR/bin/knife $PREFIX/bin || error_exit "Cannot link knife to $PREFIX/bin"
ln -sf $INSTALLER_DIR/bin/ohai $PREFIX/bin || error_exit "Cannot link ohai to $PREFIX/bin"
# We test for the presence of /usr/bin/chef-client to know if this script succeeds, so this
diff --git a/omnibus/package-scripts/chef/postinst b/omnibus/package-scripts/chef/postinst
index 61d1d0abe1..977e671bd0 100755
--- a/omnibus/package-scripts/chef/postinst
+++ b/omnibus/package-scripts/chef/postinst
@@ -86,7 +86,6 @@ fi
if [ -f "$INSTALLER_DIR/bin/chef-shell" ]; then
ln -sf $INSTALLER_DIR/bin/chef-shell $PREFIX/bin || error_exit "Cannot link chef-shell to $PREFIX/bin"
fi
-ln -sf $INSTALLER_DIR/bin/knife $PREFIX/bin || error_exit "Cannot link knife to $PREFIX/bin"
ln -sf $INSTALLER_DIR/bin/ohai $PREFIX/bin || error_exit "Cannot link ohai to $PREFIX/bin"
# We test for the presence of /usr/bin/chef-client to know if this script succeeds, so this