Permalink
Browse files

[CHEF-3802] - create symlinks for chef-apply, chef-shell

  • Loading branch information...
1 parent 7f307c6 commit e1926939542da8ead269a390a5627e0dd46bdcdb @jtimberman jtimberman committed with schisamo Jan 29, 2013
Showing with 4 additions and 0 deletions.
  1. +2 −0 package-scripts/chef/makeselfinst
  2. +2 −0 package-scripts/chef/postinst
@@ -61,6 +61,8 @@ fi
ln -sf $DEST_DIR/bin/chef-client /usr/bin || error_exit "Cannot link chef-client to /usr/bin"
ln -sf $DEST_DIR/bin/chef-solo /usr/bin || error_exit "Cannot link chef-solo to /usr/bin"
+ln -sf $DEST_DIR/bin/chef-apply /usr/bin || error_exit "Cannot link chef-apply to /usr/bin"
+ln -sf $DEST_DIR/bin/chef-shell /usr/bin || error_exit "Cannot link chef-shell to /usr/bin"
ln -sf $DEST_DIR/bin/knife /usr/bin || error_exit "Cannot link knife to /usr/bin"
ln -sf $DEST_DIR/bin/shef /usr/bin || error_exit "Cannot link shef to /usr/bin"
ln -sf $DEST_DIR/bin/ohai /usr/bin || error_exit "Cannot link ohai to /usr/bin"
@@ -62,6 +62,8 @@ rm -f /usr/bin/ohai
ln -sf $INSTALLER_DIR/bin/chef-client /usr/bin || error_exit "Cannot link chef-client to /usr/bin"
ln -sf $INSTALLER_DIR/bin/chef-solo /usr/bin || error_exit "Cannot link chef-solo to /usr/bin"
+ln -sf $INSTALLER_DIR/bin/chef-apply /usr/bin || error_exit "Cannot link chef-apply to /usr/bin"
+ln -sf $INSTALLER_DIR/bin/chef-shell /usr/bin || error_exit "Cannot link chef-shell to /usr/bin"
ln -sf $INSTALLER_DIR/bin/knife /usr/bin || error_exit "Cannot link knife to /usr/bin"
ln -sf $INSTALLER_DIR/bin/shef /usr/bin || error_exit "Cannot link shef to /usr/bin"
ln -sf $INSTALLER_DIR/bin/ohai /usr/bin || error_exit "Cannot link ohai to /usr/bin"

0 comments on commit e192693

Please sign in to comment.