aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2012-09-28 07:57:06 +0100
committerMark Longair <mhl@pobox.com>2012-09-28 07:57:06 +0100
commita9b2c818c00d05d16dd762a2821d8dda5d2123e0 (patch)
tree544edf899645e9e09c712fc35c93b0066c6c8214
parentfaae328530ec403eb864a96cc1b0af734dc82f19 (diff)
install script: remove the package apt-xapian-index
The cron job set up by this package renders a Micro instance virtually unusable.
-rwxr-xr-xbin/pre-install-as-root3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pre-install-as-root b/bin/pre-install-as-root
index e460c0e7a..0204d244a 100755
--- a/bin/pre-install-as-root
+++ b/bin/pre-install-as-root
@@ -231,6 +231,9 @@ update_apt_sources
# Install some packages that we will definitely need:
apt-get install -y git-core lockfile-progs rubygems
+# And remove one crippling package, if it's installed:
+apt-get remove --purge apt-xapian-index || true
+
clone_or_update_repository $FMS_REPOSITORY
chown -R "$UNIX_USER"."$UNIX_USER" "$FMS_DIRECTORY"