[Pkg-ganeti-devel] [ganeti] 22/29: Add postinst scripts

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Fri Mar 7 10:15:06 UTC 2014


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

apoikos pushed a commit to branch master
in repository ganeti.

commit 302815b01d152b40049d4a213e7edd9c1c743df1
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Thu Mar 6 17:01:20 2014 +0200

    Add postinst scripts
    
    Give debconf a change to register the templates.
    
    Also cleanup all generated scripts from debian/ during clean.
---
 debian/ganeti-VER.postinst         | 7 +++++++
 debian/ganeti-haskell-VER.postinst | 7 +++++++
 debian/ganeti-htools-VER.postinst  | 7 +++++++
 debian/rules                       | 2 +-
 4 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/ganeti-VER.postinst b/debian/ganeti-VER.postinst
new file mode 100644
index 0000000..0ae7a18
--- /dev/null
+++ b/debian/ganeti-VER.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+#DEBHELPER#
diff --git a/debian/ganeti-haskell-VER.postinst b/debian/ganeti-haskell-VER.postinst
new file mode 100644
index 0000000..0ae7a18
--- /dev/null
+++ b/debian/ganeti-haskell-VER.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+#DEBHELPER#
diff --git a/debian/ganeti-htools-VER.postinst b/debian/ganeti-htools-VER.postinst
new file mode 100644
index 0000000..0ae7a18
--- /dev/null
+++ b/debian/ganeti-htools-VER.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index 66765d6..9f89e54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,7 @@ override_dh_auto_clean:
 	rm -f debian/ganeti.default
 	rm -f debian/ganeti.postinst
 	rm -f debian/ganeti.postrm
-	rm -f debian/*-$(VER).install
+	rm -f debian/*-$(VER).install debian/*-$(VER).prerm debian/*-$(VER).templates debian/*-$(VER).postinst
 	rm -f debian/*-$(VER).lintian-overrides
 	if [ -d doc/html.orig ]; then \
 		rm -rf doc/html; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list