Kaynağa Gözat

Reinstate patch to not read available-filoe when doing listfiles
Get SHELL when showing diff in configure

Wichert Akkerman 27 yıl önce
ebeveyn
işleme
19b9d80313
4 değiştirilmiş dosya ile 23 ekleme ve 5 silme
  1. 6 0
      ChangeLog
  2. 10 3
      debian/changelog
  3. 2 0
      main/configure.c
  4. 5 2
      main/enquiry.c

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+Thu Oct 14 04:16:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * Reinstate patch to not read available-file with doing listfiles.
+  * Don't forget to get the correct SHELL before showing a diff of
+    conffiles!
+
 Thu Oct 14 03:37:52 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Add mips to archtable

+ 10 - 3
debian/changelog

@@ -2,15 +2,22 @@ dpkg (1.4.1.15) unstable; urgency=low
 
   * non-maintainer release.
   * Move dselect into its own package
-  * Changes to support HURD
   * Remove conffiles before directories when purging
   * Check if integrity from other packages will broken when processing
     an archive
   * dpkg-deb can handle package made with Linux ar.
   * Add check to update-alternatives to see if the sequencecode is between
     0 and 99
-
- -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
+  * Fix failed assertion, which was actually two bugs: a logic error in
+    checkforremoval and a wrong assumption in findbreakcycle
+  * dselect doesn't die when you resize the terminal
+  * check if a file is also in a new package before removing it when upgrading
+  * offer to show a diff between the old and new conffile
+  * dpkg-scanpackages: don't abort but only skip a package if we can't
+    open it
+  * Add HURD-support to  start-stop-daemon
+
+ -- Wichert Akkerman <wakkerma@debian.org>  Wed, 13 Oct 1999 21:52:17 +0200
 
 dpkg (1.4.1.14) unstable; urgency=low
 

+ 2 - 0
main/configure.c

@@ -277,6 +277,8 @@ void deferred_configure(struct pkginfo *pkg) {
 	      p= getenv(PAGERENV);
 	      if (!p || !*p) p= DEFAULTPAGER;
 	      sprintf(cmdbuf, "diff -u %.250s %.250s | %.250s", cdr.buf, cdr2.buf, p);
+              s= getenv(SHELLENV);
+              if (!s || !*s) s= DEFAULTSHELL;
 	      execlp(s,s,"-c", cmdbuf);
               ohshite(_("failed to run diff (%.250s)"), cmdbuf);
 	    }

+ 5 - 2
main/enquiry.c

@@ -389,8 +389,11 @@ void enqperpackage(const char *const *argv) {
     badusage(_("--%s needs at least one package name argument"), cipaction->olong);
 
   failures= 0;
-  modstatdb_init(admindir,msdbrw_readonly);
-  
+  if (cipaction->arg==act_listfiles)
+    modstatdb_init(admindir,msdbrw_readonly|msdbrw_noavail);
+  else 
+    modstatdb_init(admindir,msdbrw_readonly);
+
   while ((thisarg= *argv++) != 0) {
     pkg= findpackage(thisarg);