From 2e42cbfb553df279820120209108842f9d173dce Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 27 2011 21:05:38 +0000 Subject: Move pkg specific cleanup before reinstall --- diff --git a/utils/cleanup_vm.sh b/utils/cleanup_vm.sh index 4194750..4be2e03 100644 --- a/utils/cleanup_vm.sh +++ b/utils/cleanup_vm.sh @@ -20,6 +20,12 @@ else yum -y shell /tmp/yum-cleanup fi +# Package specific cleanup +# Clean pgsql data dir +/bin/rm -rf /var/lib/pgsql/ + +## EOF + yum -y reinstall \* cd /etc for x in `find . -maxdepth 2 -type f -name \*.rpmnew`; do @@ -28,6 +34,3 @@ for x in `find . -maxdepth 2 -type f -name \*.rpmnew`; do mv $x $a done -# Package specific cleanup -# Clean pgsql data dir -/bin/rm -rf /var/lib/pgsql/