Bug#997982: llvm-13-runtime: replace "which" by "command -v" in postinst script

Vincent Lefevre vincent at vinc17.net
Thu Oct 28 09:08:11 BST 2021


Package: llvm-13-runtime
Version: 1:13.0.0-8
Severity: minor

The postinst script contains:

        if which update-binfmts >/dev/null; then
           ^^^^^

This generates the following warning:

Setting up llvm-13-runtime (1:13.0.0-8) ...
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages llvm-13-runtime depends on:
ii  libc6       2.32-4
ii  libgcc-s1   11.2.0-10
ii  libllvm13   1:13.0.0-8
ii  libstdc++6  11.2.0-10
ii  libtinfo6   6.2+20210905-1
ii  libz3-4     4.8.12-1+b1
ii  zlib1g      1:1.2.11.dfsg-2

Versions of packages llvm-13-runtime recommends:
ii  binfmt-support  2.2.1-1

llvm-13-runtime suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-llvm-team mailing list