[SCM] libdvd-pkg/master: config: set required template variable PKGG.

onlyjob at users.alioth.debian.org onlyjob at users.alioth.debian.org
Sun Aug 16 15:13:22 UTC 2015


The following commit has been merged in the master branch:
commit 0db5f145c5daa629e33426f5eef769442e2445bb
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Aug 17 01:12:05 2015 +1000

    config: set required template variable PKGG.

diff --git a/debian/config b/debian/config
index 9f7ce6d..ce6c5f4 100644
--- a/debian/config
+++ b/debian/config
@@ -27,6 +27,7 @@ if [ "$1" = configure ] ; then
     if [ ! -h "/etc/apt/apt.conf.d/${P88}" ]; then
         ## show prompt again if APT post-invoke hook is missing
         db_fset       libdvd-pkg/post-invoke_hook-install seen false
+        db_subst      libdvd-pkg/post-invoke_hook-install PKGG ${PKGG}
         db_subst      libdvd-pkg/post-invoke_hook-install PKGI ${PKGI}
         db_input high libdvd-pkg/post-invoke_hook-install || true
         db_go || true
@@ -66,6 +67,7 @@ if [ "$1" = reconfigure ] ; then
 
     ## remind to install hook if it is missing
     if [ ! -h "/etc/apt/apt.conf.d/${P88}" ]; then
+        db_subst      libdvd-pkg/post-invoke_hook-install PKGG ${PKGG}
         db_subst      libdvd-pkg/post-invoke_hook-install PKGI ${PKGI}
         db_reset      libdvd-pkg/post-invoke_hook-install
         db_input high libdvd-pkg/post-invoke_hook-install || true
@@ -75,6 +77,7 @@ if [ "$1" = reconfigure ] ; then
         if [ "$RET" != "true" ]; then
             ## prompt to remove hook if it is installed and user don't want
             ## to build guest package(s).
+            db_subst      libdvd-pkg/post-invoke_hook-remove PKGG ${PKGG}
             db_subst      libdvd-pkg/post-invoke_hook-remove PKGI ${PKGI}
             db_reset      libdvd-pkg/post-invoke_hook-remove
             db_input high libdvd-pkg/post-invoke_hook-remove || true

-- 
libdvdcss-pkg packaging



More information about the pkg-multimedia-commits mailing list