summaryrefslogblamecommitdiffstats
path: root/satellit_installer/includes/60-uninstall_mpt.inc
blob: e51f12ab95c816adb376f05e27ca9d252aaa1cf0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                                      
uninstall_mpt() {
	if [ $(dpkg -l|grep -c mpt-status) -gt 0 ]; then
		echo "#"
		echo "# mpt-status package detected."
		echo "# While this script does not attempt to detect whether this makes sense,"
		echo "# it does not think so, as most likely this satellite server will run within"
		echo "# a virtual machine. So we uninstall it to keep it from spamming our log files."
		uninstall_packages mpt-status
	fi
}