[SCM] TANGO distributed control system. branch, master, updated. debian/6.1.1c-1-108-ge21cde3

Frédéric-Emmanuel PICCA picca at synchrotron-soleil.fr
Mon Dec 13 15:42:38 UTC 2010


The following commit has been merged in the master branch:
commit 8a25f2ce1bda56c2901a98e6c468b019d8dceff9
Author: Frédéric-Emmanuel PICCA <picca at synchrotron-soleil.fr>
Date:   Mon Dec 13 14:05:48 2010 +0100

    * remove the tangorc file when purgin

diff --git a/debian/tango-common.postrm b/debian/tango-common.postrm
new file mode 100644
index 0000000..156e52f
--- /dev/null
+++ b/debian/tango-common.postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]; then
+    rm -f /etc/tangorc
+    if which ucf >/dev/null 2>&1; then
+	ucf --purge /etc/tangorc
+    fi
+    if which ucfr >/dev/null; then
+	ucfr --purge tango-common /etc/tangorc
+    fi 
+fi
+
+#DEBHELPER#

-- 
TANGO distributed control system.



More information about the debian-science-commits mailing list