-
-
Save synsa/766f20e7c85e1fab09e78e6770f5d34f to your computer and use it in GitHub Desktop.
uninstall_chefdk_for_mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -e /opt/chefdk ]; then | |
rm -rf /opt/chefdk | |
else | |
echo "can not found chefdk" | |
fi | |
rm /usr/bin/berks | |
rm /usr/bin/chef | |
rm /usr/bin/chef-apply | |
rm /usr/bin/chef-solo | |
rm /usr/bin/chef-zero | |
rm /usr/bin/chef-client | |
rm /usr/bin/chef-server-manager | |
rm /usr/bin/chef-shell | |
rm /usr/bin/fauxhai | |
rm /usr/bin/foodcritic | |
rm /usr/bin/kitchen | |
rm /usr/bin/knife | |
rm /usr/bin/nokogiri | |
rm /usr/bin/ohai | |
rm /usr/bin/rubocop | |
rm /usr/bin/ruby-parse | |
rm /usr/bin/ruby-rewrite | |
rm /usr/bin/shef | |
rm /usr/bin/strain | |
rm /usr/bin/strainer | |
rm /usr/bin/tt | |
pkgutil --forget com.getchef.pkg.chefdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment