[SCM] TANGO distributed control system. branch, master, updated. debian/6.1.1c-1-112-g7d9a9b7
Picca Frédéric-Emmanuel
picca at synchrotron-soleil.fr
Thu Dec 16 22:56:57 UTC 2010
The following commit has been merged in the master branch:
commit e0940ce353db3b78d98ef1c63abf96ee7c016d6b
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