diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2016-01-12 12:11:21 -0500 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2016-01-12 12:11:21 -0500 |
commit | 030ae3456434f5804396bad21b72b1dda4e673ef (patch) | |
tree | 7cc2f79af1a216ae891fb2f38106b4c63ddc42c7 | |
parent | ca55ffbd54ab7c8c6fa44db1e4e1080207267bb0 (diff) | |
download | chef-030ae3456434f5804396bad21b72b1dda4e673ef.tar.gz |
Remove references to shef
-rwxr-xr-x | omnibus/package-scripts/angrychef/postinst | 4 | ||||
-rwxr-xr-x | omnibus/package-scripts/angrychef/postrm | 2 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef-fips/postinst | 4 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef-fips/postrm | 2 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef/postinst | 4 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef/postrm | 2 |
6 files changed, 3 insertions, 15 deletions
diff --git a/omnibus/package-scripts/angrychef/postinst b/omnibus/package-scripts/angrychef/postinst index c0fc3f5525..a173efeaef 100755 --- a/omnibus/package-scripts/angrychef/postinst +++ b/omnibus/package-scripts/angrychef/postinst @@ -85,7 +85,6 @@ rm -f $PREFIX/bin/chef-solo rm -f $PREFIX/bin/chef-apply rm -f $PREFIX/bin/chef-shell rm -f $PREFIX/bin/knife -rm -f $PREFIX/bin/shef rm -f $PREFIX/bin/ohai ln -sf $INSTALLER_DIR/bin/chef-solo $PREFIX/bin || error_exit "Cannot link chef-solo to $PREFIX/bin" @@ -96,9 +95,6 @@ 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" -if [ -f "$INSTALLER_DIR/bin/shef" ]; then - ln -sf $INSTALLER_DIR/bin/shef $PREFIX/bin || error_exit "Cannot link shef to $PREFIX/bin" -fi 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/angrychef/postrm b/omnibus/package-scripts/angrychef/postrm index 724c082be7..247688074e 100755 --- a/omnibus/package-scripts/angrychef/postrm +++ b/omnibus/package-scripts/angrychef/postrm @@ -25,7 +25,7 @@ else fi cleanup_symlinks() { - binaries="chef-client chef-solo chef-apply chef-shell knife shef ohai" + binaries="chef-client chef-solo chef-apply chef-shell knife ohai" for binary in $binaries; do rm -f $PREFIX/bin/$binary done diff --git a/omnibus/package-scripts/chef-fips/postinst b/omnibus/package-scripts/chef-fips/postinst index 6f13382b61..8aa6f19ec1 100755 --- a/omnibus/package-scripts/chef-fips/postinst +++ b/omnibus/package-scripts/chef-fips/postinst @@ -85,7 +85,6 @@ rm -f $PREFIX/bin/chef-solo rm -f $PREFIX/bin/chef-apply rm -f $PREFIX/bin/chef-shell rm -f $PREFIX/bin/knife -rm -f $PREFIX/bin/shef rm -f $PREFIX/bin/ohai ln -sf $INSTALLER_DIR/bin/chef-solo $PREFIX/bin || error_exit "Cannot link chef-solo to $PREFIX/bin" @@ -96,9 +95,6 @@ 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" -if [ -f "$INSTALLER_DIR/bin/shef" ]; then - ln -sf $INSTALLER_DIR/bin/shef $PREFIX/bin || error_exit "Cannot link shef to $PREFIX/bin" -fi 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-fips/postrm b/omnibus/package-scripts/chef-fips/postrm index 724c082be7..247688074e 100755 --- a/omnibus/package-scripts/chef-fips/postrm +++ b/omnibus/package-scripts/chef-fips/postrm @@ -25,7 +25,7 @@ else fi cleanup_symlinks() { - binaries="chef-client chef-solo chef-apply chef-shell knife shef ohai" + binaries="chef-client chef-solo chef-apply chef-shell knife ohai" for binary in $binaries; do rm -f $PREFIX/bin/$binary done diff --git a/omnibus/package-scripts/chef/postinst b/omnibus/package-scripts/chef/postinst index 88016f6c03..45893241b3 100755 --- a/omnibus/package-scripts/chef/postinst +++ b/omnibus/package-scripts/chef/postinst @@ -85,7 +85,6 @@ rm -f $PREFIX/bin/chef-solo rm -f $PREFIX/bin/chef-apply rm -f $PREFIX/bin/chef-shell rm -f $PREFIX/bin/knife -rm -f $PREFIX/bin/shef rm -f $PREFIX/bin/ohai ln -sf $INSTALLER_DIR/bin/chef-solo $PREFIX/bin || error_exit "Cannot link chef-solo to $PREFIX/bin" @@ -96,9 +95,6 @@ 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" -if [ -f "$INSTALLER_DIR/bin/shef" ]; then - ln -sf $INSTALLER_DIR/bin/shef $PREFIX/bin || error_exit "Cannot link shef to $PREFIX/bin" -fi 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/postrm b/omnibus/package-scripts/chef/postrm index 724c082be7..247688074e 100755 --- a/omnibus/package-scripts/chef/postrm +++ b/omnibus/package-scripts/chef/postrm @@ -25,7 +25,7 @@ else fi cleanup_symlinks() { - binaries="chef-client chef-solo chef-apply chef-shell knife shef ohai" + binaries="chef-client chef-solo chef-apply chef-shell knife ohai" for binary in $binaries; do rm -f $PREFIX/bin/$binary done |