[xmds2] 01/01: Create waf configuration files in /var/lib/xmds/

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sat Jan 11 11:28:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch site-wide-conf
in repository xmds2.

commit 2624deec647526f4f3232c9f25e86a264d579b13
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Jan 11 12:28:21 2014 +0100

    Create waf configuration files in /var/lib/xmds/
---
 debian/xmds2.dirs   |  1 +
 debian/xmds2.links  |  1 +
 debian/xmds2.postrm | 20 ++++++++++++++++++++
 3 files changed, 22 insertions(+)

diff --git a/debian/xmds2.dirs b/debian/xmds2.dirs
new file mode 100644
index 0000000..db88007
--- /dev/null
+++ b/debian/xmds2.dirs
@@ -0,0 +1 @@
+/var/lib/xmds
diff --git a/debian/xmds2.links b/debian/xmds2.links
new file mode 100644
index 0000000..4dc096c
--- /dev/null
+++ b/debian/xmds2.links
@@ -0,0 +1 @@
+var/lib/xmds etc/xmds
diff --git a/debian/xmds2.postrm b/debian/xmds2.postrm
new file mode 100644
index 0000000..10dad8f
--- /dev/null
+++ b/debian/xmds2.postrm
@@ -0,0 +1,20 @@
+#!/bin/sh
+# postrm script for xmds2
+#
+
+set -e
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+         rm -rf /var/lib/xmds
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git



More information about the debian-science-commits mailing list