#!/bin/bash

# On RHEL, we must remove things we put in /usr/bin upon uninstall.
#
# See https://tickets.opscode.com/browse/CHEF-3022.
if [ ! -e /etc/redhat-release -o "x$1" == "x0" ]; then
  rm -f /usr/bin/chef-manage-ctl /usr/bin/opscode-manage-ctl
fi
