[Pkg-fonts-devel] Bug#642103: fonts-ipaexfont-mincho: output of preinst script is noisy
YAMASHITA Junji
ysiijj at gmail.com
Mon Sep 19 13:23:11 UTC 2011
Package: fonts-ipaexfont-mincho
Version: 00103-6
Severity: minor
/var/lib/dpkg/info/fonts-ipaexfont-mincho.preinst starts with:
#!/bin/sh -xv
So, the script output noise as below:
#!/bin/sh -xv
set -e
+ set -e
VERSION=00103-1
+ VERSION=00103-1
VERSION_2=00103-3
+ VERSION_2=00103-3
VERSION_3=00103-6
+ VERSION_3=00103-6
OLD_ALT_NAME=ttf-japanese-mincho
+ OLD_ALT_NAME=ttf-japanese-mincho
FONT_ENTRY=/usr/share/fonts/opentype/ipaexfont/ipaexm.ttf
+ FONT_ENTRY=/usr/share/fonts/opentype/ipaexfont/ipaexm.ttf
FONT_ENTRY_2=/usr/share/fonts/opentype/ipaexfont/ipaexm.ttf
+ FONT_ENTRY_2=/usr/share/fonts/opentype/ipaexfont/ipaexm.ttf
FONT_ENTRY_3=/usr/share/fonts/opentype/fonts-ipaexfont-mincho/ipaexm.ttf
+ FONT_ENTRY_3=/usr/share/fonts/opentype/fonts-ipaexfont-mincho/ipaexm.ttf
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" lt-nl "$VERSION"; then
# remove old alternative otf symlinks.
update-alternatives --remove $OLD_ALT_NAME.otf $FONT_ENTRY
fi
if dpkg --compare-versions "$2" lt-nl "$VERSION_2"; then
if [ -d /usr/share/fonts/opentype/ipaexfont ]; then
update-alternatives --remove $OLD_ALT_NAME.ttf $FONT_ENTRY_2
fi
fi
if dpkg --compare-versions "$2" lt-nl "$VERSION_3"; then
if [ -d /usr/share/fonts/opentype/fonts-ipaexfont-mincho ]; then
update-alternatives --remove $OLD_ALT_NAME.ttf $FONT_ENTRY_3
fi
fi
esac
+ case "$1" in
+ dpkg --compare-versions 00103-5 lt-nl 00103-1
+ dpkg --compare-versions 00103-5 lt-nl 00103-3
+ dpkg --compare-versions 00103-5 lt-nl 00103-6
+ '[' -d /usr/share/fonts/opentype/fonts-ipaexfont-mincho ']'
+ update-alternatives --remove ttf-japanese-mincho.ttf /usr/share/fonts/opentype/fonts-ipaexfont-mincho/ipaexm.ttf
exit 0
+ exit 0
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.0.4 (PREEMPT)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
fonts-ipaexfont-mincho depends on no packages.
fonts-ipaexfont-mincho recommends no packages.
Versions of packages fonts-ipaexfont-mincho suggests:
ii fonts-ipaexfont-gothic 00103-6
-- no debconf information
More information about the Pkg-fonts-devel
mailing list