From 8c38cfc660a11f0932017b7c4f03c9d8c9b6e369 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Aug 08 2012 20:39:26 +0000 Subject: Fix "Clean pgsql dir only on c6" --- diff --git a/utils/cleanup_vm.sh b/utils/cleanup_vm.sh index be0e79a..850a428 100644 --- a/utils/cleanup_vm.sh +++ b/utils/cleanup_vm.sh @@ -50,7 +50,7 @@ done # Package specific cleanup # Clean pgsql data dir on c6 -(t_GetPkgRel postgresql | grep -q el6) && /bin/rm -rf /var/lib/pgsql/ +(rpm -q postgresql | grep -q el6) && /bin/rm -rf /var/lib/pgsql/ # Clean tmp rm -rf /tmp/*