diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-20 13:30:09 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-20 13:30:09 -0800 |
commit | 845ab6032949ba8682f8f430630e16fd774886af (patch) | |
tree | 3669649a295191d1a77e379bfda5bfedd86cafff /omnibus/package-scripts | |
parent | 37219237e28aab86ee70d607df244bf5d48ce460 (diff) | |
download | chef-845ab6032949ba8682f8f430630e16fd774886af.tar.gz |
need -rf to remove dirs
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'omnibus/package-scripts')
-rwxr-xr-x | omnibus/package-scripts/angrychef/preinst | 2 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef-fips/preinst | 2 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef/preinst | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/omnibus/package-scripts/angrychef/preinst b/omnibus/package-scripts/angrychef/preinst index c0406b567a..b3038a10c6 100755 --- a/omnibus/package-scripts/angrychef/preinst +++ b/omnibus/package-scripts/angrychef/preinst @@ -9,4 +9,4 @@ INSTALLER_DIR=/opt/angrychef echo "removing $INSTALLER_DIR..." -rm -f $INSTALLER_DIR +rm -rf $INSTALLER_DIR diff --git a/omnibus/package-scripts/chef-fips/preinst b/omnibus/package-scripts/chef-fips/preinst index 585b262e1b..834c29544b 100755 --- a/omnibus/package-scripts/chef-fips/preinst +++ b/omnibus/package-scripts/chef-fips/preinst @@ -9,4 +9,4 @@ INSTALLER_DIR=/opt/chef-fips echo "removing $INSTALLER_DIR..." -rm -f $INSTALLER_DIR +rm -rf $INSTALLER_DIR diff --git a/omnibus/package-scripts/chef/preinst b/omnibus/package-scripts/chef/preinst index d46a900bde..1880275e99 100755 --- a/omnibus/package-scripts/chef/preinst +++ b/omnibus/package-scripts/chef/preinst @@ -9,4 +9,4 @@ INSTALLER_DIR=/opt/chef echo "removing $INSTALLER_DIR..." -rm -f $INSTALLER_DIR +rm -rf $INSTALLER_DIR |