[SCM] Debian packaging of libconfig-model-perl branch, fix-dh-cm, updated. debian/2.038-1-9-gc25dd92

Dominique Dumont dod at debian.org
Mon Jul 22 18:31:51 UTC 2013


The following commit has been merged in the fix-dh-cm branch:
commit c25dd9208dfd6549310cac329d0b41b73d5480cf
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Jul 22 19:22:36 2013 +0200

    postinst-cme: added backup option from C::M 2.039

diff --git a/debian/dh/postinst-cme b/debian/dh/postinst-cme
index d0223bf..b384421 100644
--- a/debian/dh/postinst-cme
+++ b/debian/dh/postinst-cme
@@ -8,7 +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
-        echo "TODO: add -backup dpkg-old option"
-	cme migrate %APPNAME% -try-app-as-model %OPTION% || \
+	cme migrate %APPNAME% -backup dpkg-old -try-app-as-model %OPTION% || \
 	echo "WARNING: upgrade with cme failed: Run 'cme migrate %APPNAME% -try-app-as-model -force %OPTION%'."
 fi

-- 
Debian packaging of libconfig-model-perl



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