summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xomnibus/package-scripts/angrychef/preinst12
-rwxr-xr-xomnibus/package-scripts/chef-fips/preinst12
-rwxr-xr-xomnibus/package-scripts/chef/preinst12
3 files changed, 36 insertions, 0 deletions
diff --git a/omnibus/package-scripts/angrychef/preinst b/omnibus/package-scripts/angrychef/preinst
new file mode 100755
index 0000000000..c0406b567a
--- /dev/null
+++ b/omnibus/package-scripts/angrychef/preinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+# WARNING: REQUIRES /bin/sh
+#
+# - must run on /bin/sh on solaris 9
+# - must run on /bin/sh on AIX 6.x
+# - if you think you are a bash wizard, you probably do not understand
+# this programming language. do not touch.
+# - if you are under 40, get peer review from your elders.
+
+INSTALLER_DIR=/opt/angrychef
+echo "removing $INSTALLER_DIR..."
+rm -f $INSTALLER_DIR
diff --git a/omnibus/package-scripts/chef-fips/preinst b/omnibus/package-scripts/chef-fips/preinst
new file mode 100755
index 0000000000..585b262e1b
--- /dev/null
+++ b/omnibus/package-scripts/chef-fips/preinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+# WARNING: REQUIRES /bin/sh
+#
+# - must run on /bin/sh on solaris 9
+# - must run on /bin/sh on AIX 6.x
+# - if you think you are a bash wizard, you probably do not understand
+# this programming language. do not touch.
+# - if you are under 40, get peer review from your elders.
+
+INSTALLER_DIR=/opt/chef-fips
+echo "removing $INSTALLER_DIR..."
+rm -f $INSTALLER_DIR
diff --git a/omnibus/package-scripts/chef/preinst b/omnibus/package-scripts/chef/preinst
new file mode 100755
index 0000000000..d46a900bde
--- /dev/null
+++ b/omnibus/package-scripts/chef/preinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+# WARNING: REQUIRES /bin/sh
+#
+# - must run on /bin/sh on solaris 9
+# - must run on /bin/sh on AIX 6.x
+# - if you think you are a bash wizard, you probably do not understand
+# this programming language. do not touch.
+# - if you are under 40, get peer review from your elders.
+
+INSTALLER_DIR=/opt/chef
+echo "removing $INSTALLER_DIR..."
+rm -f $INSTALLER_DIR