[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#107151: apt: DPkg::Post-Install-Pkgs



Package: apt
Version: 0.5.3
Severity: wishlist

Hello,

In attempt to automate debsums_gen for the packages without md5sums I ran
into necessity to introduce DPkg::Post-Install-Pkgs configuration directive.
This also makes DPkg directive set more symmetric. The change is very
simple but I've listed patch in the end of the message anyway.

I hope it can be introduced in the mainstream version.

Thanks,
Igor

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux KATEHOK 2.4.7 #2 Thu Jul 26 10:45:31 EDT 2001 i686 unknown

Versions of the packages apt depends on:
ii  libc6          2.2.3-5        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-0.01070 The GNU stdc++ library


diff -ur apt-0.5.3.orig/apt-pkg/deb/dpkgpm.cc apt-0.5.3/apt-pkg/deb/dpkgpm.cc
--- apt-0.5.3.orig/apt-pkg/deb/dpkgpm.cc        Mon Feb 26 23:14:22 2001
+++ apt-0.5.3/apt-pkg/deb/dpkgpm.cc     Mon Jul 30 15:25:00 2001
@@ -501,6 +501,9 @@
       }      
    }
 
+   if (RunScriptsWithPkgs("DPkg::Post-Install-Pkgs") == false)
+      return false;
+
    if (RunScripts("DPkg::Post-Invoke") == false)
       return false;
    return true;



Reply to: