[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
David GUENAULT
dguenault at monitoring-fr.org
Tue Feb 28 22:21:46 UTC 2012
The following commit has been merged in the debian/master branch:
commit 15360f392fddce3d4a4f0d3ec8a359b19c441ca1
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date: Sun Feb 19 08:42:49 2012 +0100
NEVER USE THIS ! ONLY FOR DEV
diff --git a/contrib/alternative-installation/shinken-install/clean.debian.sh b/contrib/alternative-installation/shinken-install/clean.redhat.sh
similarity index 67%
copy from contrib/alternative-installation/shinken-install/clean.debian.sh
copy to contrib/alternative-installation/shinken-install/clean.redhat.sh
index 4247470..2697ea4 100755
--- a/contrib/alternative-installation/shinken-install/clean.debian.sh
+++ b/contrib/alternative-installation/shinken-install/clean.redhat.sh
@@ -38,36 +38,35 @@ cecho "# CAUTION THIS SCRIPT IS USED ONLY IN DEVELOPMENT PROCESS " red
cecho "# IT COULD BREAK YOUR SYSTEM ! PRESS CTRL+C TO ABORT " red
cecho "###########################################################" red
read taste
-path="/usr/local/lib/$(pythonver)/dist-packages"
-pyver=$(pythonvershort)
-pth="eeasy-install.pth"
-for p in $PYLIBSDEB
-do
- module=$(echo $p | awk -F\: '{print $1}')
- cecho " > going to remove python module : $module" yellow
- echo $path/$module
- if [ ! -z "$(ls -1 $path/$module*)" ]
- then
- cecho " > Found $path/$module" yellow
- res=$(easy_install-$pyver -m $module | grep "^Using" | awk '{print $2}')
- if [ ! -z "$res" ]
- then
- rm -Rf $res
- fi
- fi
-
-done
-APTLIST="$APTPKGS $VSPHERESDKAPTPKGS $NAGPLUGAPTPK $CHECKORACLEHEALTHAPTPKG $CHECKMONGOAPTPKG $CHECKEMCAPTPKG $CHECKNWCAPTPKG $PNPAPTPKG $MKAPTPKG $WMICAPTPKG $CHECKHPASMAPTPKGS"
-for l in $APTLIST
+#path="/usr/local/lib/$(pythonver)/dist-packages"
+#pyver=$(pythonvershort)
+#pth="eeasy-install.pth"
+#for p in $PYLIBSDEB
+#do
+# module=$(echo $p | awk -F\: '{print $1}')
+# cecho " > going to remove python module : $module" yellow
+# echo $path/$module
+# if [ ! -z "$(ls -1 $path/$module*)" ]
+# then
+# cecho " > Found $path/$module" yellow
+# res=$(easy_install-$pyver -m $module | grep "^Using" | awk '{print $2}')
+# if [ ! -z "$res" ]
+# then
+# rm -Rf $res
+# fi
+# fi
+#
+#done
+YUMLIST="$YUMPKGS $VSPHERESDKYUMPKGS $NAGPLUGYUMPK $CHECKORACLEHEALTHYUMPKG $CHECKMONGOYUMPKG $CHECKEMCYUMPKG $CHECKNWCYUMPKG $PNPYUMPKG $MKYUMPKG $WMICYUMPKG $CHECKHPASMYUMPKGS"
+for l in $YUMLIST
do
for p in $l
do
cecho " > remove $p" yellow
- apt-get purge $p
+ yum remove $p
done
done
-apt-get autoremove
-
+yum clean all
rm -Rf $PNPPREFIX
rm -Rf $MKPREFIX
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list