[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
David GUENAULT
dguenault at monitoring-fr.org
Tue Feb 28 22:21:50 UTC 2012
The following commit has been merged in the debian/master branch:
commit e8cd6a0353b2b307a55345a4fa35ebe5e1fe58a2
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date: Sun Feb 19 11:28:22 2012 +0100
NEVER USE THIS. YOU DO NOT HAVE TO KNOW WHAT IT DOES.
diff --git a/contrib/alternative-installation/shinken-install/clean.redhat.sh b/contrib/alternative-installation/shinken-install/clean.redhat.sh
index 2697ea4..2667a3d 100755
--- a/contrib/alternative-installation/shinken-install/clean.redhat.sh
+++ b/contrib/alternative-installation/shinken-install/clean.redhat.sh
@@ -57,13 +57,23 @@ read taste
# fi
#
#done
-YUMLIST="$YUMPKGS $VSPHERESDKYUMPKGS $NAGPLUGYUMPK $CHECKORACLEHEALTHYUMPKG $CHECKMONGOYUMPKG $CHECKEMCYUMPKG $CHECKNWCYUMPKG $PNPYUMPKG $MKYUMPKG $WMICYUMPKG $CHECKHPASMYUMPKGS"
+#YUMLIST="$YUMPKGS $VSPHERESDKYUMPKGS $NAGPLUGYUMPK $CHECKORACLEHEALTHYUMPKG $CHECKMONGOYUMPKG $CHECKEMCYUMPKG $CHECKNWCYUMPKG $PNPYUMPKG $MKYUMPKG $WMICYUMPKG $CHECKHPASMYUMPKGS"
+YUMLIST="$YUMPKGS"
+PRESERVE="python"
for l in $YUMLIST
do
for p in $l
do
- cecho " > remove $p" yellow
- yum remove $p
+ for pp in $PRESERVE
+ do
+ if [ $p == $pp ]
+ then
+ cecho " > preserve $p" yellow
+ else
+ cecho " > remove $p" yellow
+ yum -y remove $p
+ fi
+ done
done
done
yum clean all
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list