summaryrefslogtreecommitdiffstats
path: root/conf/osx/preflight
diff options
context:
space:
mode:
authorNigel Kersten <nigelk@google.com>2009-11-05 07:28:44 -0800
committerNigel Kersten <nigelk@google.com>2009-11-05 07:28:44 -0800
commitee13efa50d83ea4ecb549763efca211111972edf (patch)
treea3bf751cfa2bfd71e41f8469e8477664c96d3023 /conf/osx/preflight
parentb8470b8064503baea21d43d5c1dcf349bc4daf59 (diff)
downloadpuppet-ee13efa50d83ea4ecb549763efca211111972edf.tar.gz
puppet-ee13efa50d83ea4ecb549763efca211111972edf.tar.xz
puppet-ee13efa50d83ea4ecb549763efca211111972edf.zip
Add docs to Mac OS X package creation script and clean out old docs in the preflight
Diffstat (limited to 'conf/osx/preflight')
-rwxr-xr-xconf/osx/preflight4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/osx/preflight b/conf/osx/preflight
index 3a6109e65..8220d02a3 100755
--- a/conf/osx/preflight
+++ b/conf/osx/preflight
@@ -11,6 +11,10 @@
/bin/rm -Rf "${3}{SITELIBDIR}/puppet"
/bin/rm -Rf "${3}{SITELIBDIR}/puppet.rb"
+# remove old doc files
+
+/bin/rm -Rf "${3}/usr/share/doc/puppet"
+
# In puppet 0.24.x these executables lived in bindir, but in 0.25.x they
# have been moved to sbindir. This cleans out old ones before installing.
/bin/rm -Rf "${3}{BINDIR}/puppetca"