[DRE-commits] [redmine] 22/39: fix maintainer scripts

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Dec 8 12:56:50 UTC 2015


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

terceiro pushed a commit to branch master
in repository redmine.

commit 4e4f6a785d9ef508faf1ac2b8655f5308c5a682f
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Sep 28 16:24:02 2015 -0300

    fix maintainer scripts
---
 debian/postinst | 2 +-
 debian/postrm   | 2 ++
 debian/prerm    | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 8c635ce..29e377b 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -18,7 +18,7 @@ chown www-data:www-data /var/lib/redmine/Gemfile.lock
 . /usr/share/dbconfig-common/dpkg/postinst
 
 dbc_generate_include=template:/etc/redmine/database.yml # FIXME
-dbc_generate_includ     . /usr/share/dbconfig-common/dpkg/postinst e_args="-o template_infile=/usr/share/redmine/templates/database.yml.template" # FIXME
+dbc_generate_include_args="-o template_infile=/usr/share/redmine/templates/database-sqlite.template" # FIXME
 dbc_generate_include_owner="root:www-data"
 dbc_generate_include_perms="640"
 dbc_dbfile_owner="root:www-data"
diff --git a/debian/postrm b/debian/postrm
index b3ba526..82fa12f 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -2,6 +2,8 @@
 
 set -e
 
+. /usr/share/debconf/confmodule
+
 if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
   . /usr/share/dbconfig-common/dpkg/postrm
   dbc_go
diff --git a/debian/prerm b/debian/prerm
index a03bbe8..4013b6a 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -2,6 +2,8 @@
 
 set -e
 
+. /usr/share/debconf/confmodule
+
 if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
   . /usr/share/dbconfig-common/dpkg/prerm
   dbc_go

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



More information about the Pkg-ruby-extras-commits mailing list