diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-09-20 08:59:48 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-09-20 09:02:44 -0700 |
commit | c8d5110b44d99d691590c7a4215ec4f44e3f1adc (patch) | |
tree | 9e7076efd4dab0f9b5523cd0b604f83b591537a9 | |
parent | 6d671b711a5b17d21cf46eb3f4f43bfce474e338 (diff) | |
download | chef-c8d5110b44d99d691590c7a4215ec4f44e3f1adc.tar.gz |
don't setup broken symlink to knife
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rwxr-xr-x | omnibus/package-scripts/angrychef/postinst | 1 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef/postinst | 1 |
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 |