[Pkg-voip-commits] r4395 - destar/trunk/debian

santiago at alioth.debian.org santiago at alioth.debian.org
Mon Sep 3 18:41:50 UTC 2007


Author: santiago
Date: 2007-09-03 18:41:49 +0000 (Mon, 03 Sep 2007)
New Revision: 4395

Modified:
   destar/trunk/debian/prerm
Log:
prerm: update-alternative only removes config if it exists



Modified: destar/trunk/debian/prerm
===================================================================
--- destar/trunk/debian/prerm	2007-09-03 14:38:27 UTC (rev 4394)
+++ destar/trunk/debian/prerm	2007-09-03 18:41:49 UTC (rev 4395)
@@ -21,7 +21,9 @@
     remove|upgrade|deconfigure)
 	
 	# remove this alternative configuration
-	update-alternatives --remove-all op-panel
+	if update-alternatives --list op-panel | grep destar ; then
+		update-alternatives --remove op-panel
+	fi
 	
         ;;
     failed-upgrade)




More information about the Pkg-voip-commits mailing list