Package: emacs23
Version: 23.1+1-2
Severity: normal
Tags: patch

I've just seen the following when installing emacs23-nox in a chroot
that had no emacsen flavor previously installed:

,----
| Setting up emacs23-nox (23.1+1-2) ...
| update-alternatives: using /usr/bin/emacs23-nox to provide /usr/bin/emacs 
(emacs) in auto mode.
| update-alternatives: warning: skip creation of /usr/share/man/man1/emacs.1.gz 
because associated file /usr/share/man/man1/emacs.1emacs23.gz (of link group 
emacs) doesn't exist.
`----

I suppose the following (untested) patch should fix this and complete
the "Rename manpages from NAME.1FLAVOR to NAME.FLAVOR.1." change
mentioned in the Debian changelog:

--8<---------------cut here---------------start------------->8---
--- emacsVER.postinst~  2009-08-03 09:59:16.000000000 +0200
+++ emacsVER.postinst   2009-08-04 15:54:09.642721323 +0200
@@ -8,13 +8,13 @@
   --install /usr/bin/emacs emacs \
             /usr/bin/${flavo...@x_support@ @BIN_PRIORITY@ \
   --slave /usr/share/man/man1/emacs.1.gz emacs.1.gz \
-          /usr/share/man/man1/emacs.1${FLAVOR}.gz
+          /usr/share/man/man1/emacs.${FLAVOR}.1.gz
 
 update-alternatives \
   --install /usr/bin/editor editor \
             /usr/bin/${FLAVOR} 0 \
   --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
-          /usr/share/man/man1/emacs.1${FLAVOR}.gz
+          /usr/share/man/man1/emacs.${FLAVOR}.1.gz
 
 # emacsen-common registration.
 /usr/lib/emacsen-common/emacs-install ${FLAVOR}
--8<---------------cut here---------------end--------------->8---


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30.4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to