summaryrefslogtreecommitdiff
path: root/omnibus/package-scripts
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-11-20 13:30:09 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-11-20 13:30:09 -0800
commit845ab6032949ba8682f8f430630e16fd774886af (patch)
tree3669649a295191d1a77e379bfda5bfedd86cafff /omnibus/package-scripts
parent37219237e28aab86ee70d607df244bf5d48ce460 (diff)
downloadchef-845ab6032949ba8682f8f430630e16fd774886af.tar.gz
need -rf to remove dirs
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'omnibus/package-scripts')
-rwxr-xr-xomnibus/package-scripts/angrychef/preinst2
-rwxr-xr-xomnibus/package-scripts/chef-fips/preinst2
-rwxr-xr-xomnibus/package-scripts/chef/preinst2
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