diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-20 13:28:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 13:28:02 -0800 |
commit | 54b1a13025bf6c2cc60f940107115d07159fc4ff (patch) | |
tree | 5b2ba855d2c676f6a6cb4963c10b3ffb5bb0a103 | |
parent | 54b86851ea6706955b2ac600b11a13764320c4ff (diff) | |
parent | 37219237e28aab86ee70d607df244bf5d48ce460 (diff) | |
download | chef-54b1a13025bf6c2cc60f940107115d07159fc4ff.tar.gz |
Merge pull request #7964 from chef/lcg/wipe-before-install
wipe the installer direction before installation
-rwxr-xr-x | omnibus/package-scripts/angrychef/preinst | 12 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef-fips/preinst | 12 | ||||
-rwxr-xr-x | omnibus/package-scripts/chef/preinst | 12 |
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 |