[SCM] libdvd-pkg/master: do not show upgrade note on first install

onlyjob at users.alioth.debian.org onlyjob at users.alioth.debian.org
Fri Sep 13 05:09:06 UTC 2013


The following commit has been merged in the master branch:
commit a8b0b3e2833ec876b9df9ded17463b29ba676cc9
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Fri Sep 13 14:59:26 2013 +1000

    do not show upgrade note on first install

diff --git a/debian/config b/debian/config
index 80baab1..6c857c9 100644
--- a/debian/config
+++ b/debian/config
@@ -32,7 +32,7 @@ if [ "$1" = configure ] ; then
     fi
 
     ## upgrade check
-    if [ "${VERGG}~local" != "${VERG}" ];then
+    if [ "${VERGG}~local" != "${VERG}" ] && [ -n "$2" ];then
         db_get libdvd-pkg/post-invoke_hook-install
         if [ "$RET" != "true" ]; then
         ## no APT post-invoke hook: remind to upgrade manually

-- 
libdvdcss-pkg packaging



More information about the pkg-multimedia-commits mailing list