From c544e0fb1ba287d33a87851b88b913d5ac41cf34 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 18 Aug 2011 17:34:26 -0400 Subject: [PATCH] CC-2664: Airtime install should check if the DEB package is installed and abort if so - done --- install_minimal/airtime-install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_minimal/airtime-install b/install_minimal/airtime-install index cc104e775..860cfd18c 100755 --- a/install_minimal/airtime-install +++ b/install_minimal/airtime-install @@ -1,5 +1,11 @@ #!/bin/bash +DEB=$(dpkg -s lame 2> /dev/null | grep Status) +if [[ "$DEB" = "Status: install ok installed" ]]; then + echo -e "\nDebian package of Airtime detected. Please use the debian package to upgrade.\n" + exit 1 +fi + echo -e "\n******************************** Install Begin *********************************" # Absolute path to this script