Bug#777558: tex-common: Redundant function in postinst
Package: tex-common
Version: 5.03
Severity: minor
Dear Maintainer,
The following lines (50--55) in the postinst script appear to be
redundant since the removal of a large chunk of postinst.
--8>--------
cleanup()
{
rc=$?
[ -n "$tempdir" ] && rm -rf "$tempdir"
exit $rc
}
--8>--------
cleanup used to be called from this snippet:
tempdir=`mktemp -d`
tempfile=`mktemp -p $tempdir`
trap 'cleanup' HUP INT QUIT BUS PIPE TERM
in the wheezy version.
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.55
ii dpkg 1.17.23
ii ucf 3.0030
tex-common recommends no packages.
Versions of packages tex-common suggests:
ii debhelper 9.20141022
Versions of packages texlive-base depends on:
ii debconf [debconf-2.0] 1.5.55
ii dpkg 1.17.23
ii libpaper-utils 1.1.24+nmu4
ii texlive-binaries 2014.20140926.35254-6
ii ucf 3.0030
ii xdg-utils 1.1.0~rc1+git20111210-7.3
Versions of packages texlive-base recommends:
ii lmodern 2.004.4-5
Versions of packages texlive-base suggests:
ii evince [postscript-viewer] 3.14.1-1
ii ghostscript [postscript-viewer] 9.06~dfsg-2
ii gv [postscript-viewer] 1:3.7.4-1
ii perl-tk 1:804.032-3+b3
ii xpdf [pdf-viewer] 3.03-17+b1
Versions of packages texlive-binaries depends on:
ii dpkg 1.17.23
ii install-info 5.2.0.dfsg.1-6
ii libc6 2.19-13
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-2
ii libgcc1 1:4.9.1-19
ii libgmp10 2:6.0.0+dfsg-6
ii libgraphite2-3 1.2.4-3
ii libgs9 9.06~dfsg-2
ii libharfbuzz-icu0 0.9.35-2
ii libharfbuzz0b 0.9.35-2
ii libice6 2:1.0.9-1+b1
ii libicu52 52.1-7
ii libkpathsea6 2014.20140926.35254-6
ii libmpfr4 3.1.2-2
ii libpaper1 1.1.24+nmu4
ii libpixman-1-0 0.32.6-3
ii libpoppler46 0.26.5-2
ii libpotrace0 1.11-2
ii libptexenc1 2014.20140926.35254-6
ii libsm6 2:1.2.2-1+b1
ii libstdc++6 4.9.1-19
ii libsynctex1 2014.20140926.35254-6
ii libx11-6 2:1.6.2-3
ii libxaw7 2:1.0.12-2+b1
ii libxext6 2:1.3.3-1
ii libxi6 2:1.7.4-1+b2
ii libxmu6 2:1.1.2-1
ii libxpm4 1:3.5.11-1+b1
ii libxt6 1:1.1.4-1+b1
ii libzzip-0-13 0.13.62-3
ii perl 5.20.1-5
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages texlive-binaries recommends:
ii python 2.7.8-3
ii ruby 1:2.1.0.4
ii texlive-base 2014.20141024-2
ii tk [wish] 8.6.0+8
-- debconf information:
tex-common/check_texmf_missing:
tex-common/check_texmf_wrong:
texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
texlive-base/texconfig_ignorant:
Reply to: