Skip to content

Commit

Permalink
Merge pull request #367 from chef/jtimberman/nix-chefx
Browse files Browse the repository at this point in the history
remove chefx symlink references
  • Loading branch information
marcparadise authored May 2, 2019
2 parents 5de1b85 + 19030ee commit f4307b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omnibus/package-scripts/chef-workstation/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
fi

chefdk_binaries="berks chef chef-apply chef-shell chef-solo chef-vault cookstyle dco delivery foodcritic inspec kitchen knife ohai push-apply pushy-client pushy-service-manager chef-client"
binaries="chef-run chefx $chefdk_binaries"
binaries="chef-run $chefdk_binaries"

for binary in $binaries; do
ln -sf $INSTALLER_DIR/bin/$binary $PREFIX/bin || error_exit "Cannot link $binary to $PREFIX/bin"
Expand Down
2 changes: 1 addition & 1 deletion omnibus/package-scripts/chef-workstation/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cleanup_symlinks() {
# Keep removed symlinks in this list, so that removal of upgraded packages still cleans up
# leftovers from older versions.
chefdk_binaries="berks chef chef-apply chef-shell chef-solo chef-vault cookstyle dco delivery foodcritic inspec kitchen knife ohai push-apply pushy-client pushy-service-manager chef-client"
binaries="chef-run chefx chef-workstation-app $chefdk_binaries"
binaries="chef-run chef-workstation-app $chefdk_binaries"

for binary in $binaries; do
rm -f $PREFIX/bin/$binary
Expand Down

0 comments on commit f4307b4

Please sign in to comment.