Package: libdebuginfod-common
Version: 0.192-4
Severity: minor
Tags: patch
Dear Maintainer,
debian/libdebuginfod-common.postinst depends on bash, but using
‘local foo; readonly foo’ instead of ‘local -r foo’ removes the bash dependency
and also works in dash.
```
$ checkbashisms debian/libdebuginfod-common.postinst
possible bashism in debian/libdebuginfod-common.postinst line 32 (local -opt):
local -r OLDVER="$1"
[...]
```
Please drop bashism from debian/libdebuginfod-common.postinst.
Best regards,
Nobuhiro
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64, i386, riscv64
Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libdebuginfod-common depends on:
ii debconf [debconf-2.0] 1.5.91
ii ucf 3.0051
libdebuginfod-common recommends no packages.
libdebuginfod-common suggests no packages.
-- debconf information excluded
Attachment:
0001-Drop-bashism-from-debian-libdebuginfod-common.postin.patch
Description: application/mbox