[libconfig-model-perl] 04/09: postinst-cme: can now create configuration file from scratch

dod at debian.org dod at debian.org
Fri Jan 17 18:03:50 UTC 2014


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

dod pushed a commit to branch master
in repository libconfig-model-perl.

commit 703101f87e8f268be426a55f2544ed0bae72ee4c
Author: Dominique Dumont <dod at debian.org>
Date:   Thu Jan 2 18:42:57 2014 +0100

    postinst-cme: can now create configuration file from scratch
---
 debian/dh/postinst-cme | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/dh/postinst-cme b/debian/dh/postinst-cme
index 2e0f28a..5f420a4 100644
--- a/debian/dh/postinst-cme
+++ b/debian/dh/postinst-cme
@@ -8,6 +8,6 @@ db_get  %PACKAGE%/auto-upgrade-config
 # testing perl is required to avoid problem in embedded environments
 if [ "$RET" = true ] && [ -x "/usr/bin/perl" ] && [ -x "/usr/bin/cme" ] 
 then
-	cme migrate %APPNAME% -backup dpkg-old -try-app-as-model %OPTION% || \
+	cme migrate %APPNAME% -create -backup dpkg-old -try-app-as-model %OPTION% || \
 	echo "WARNING: upgrade with cme failed: Run 'sudo cme migrate %APPNAME% %OPTION%'."
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-perl.git



More information about the Pkg-perl-cvs-commits mailing list