Package: debfoster Version: 2.7-2.2 Severity: minor Dear Maintainer,
the packaged autocompletion artifact is using the deprecated function "have". This should be "_have". I've included a tiny patch to fix this. cheers -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing'), (100, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.11.7-amd64 (SMP w/24 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), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debfoster depends on: ii libc6 2.40-3 ii libgc1 1:8.2.8-1 Versions of packages debfoster recommends: ii apt 2.9.10 debfoster suggests no packages. -- no debconf information
--- debfoster.orig 2024-11-15 19:14:26.287768208 +0100 +++ debfoster 2024-11-15 19:28:08.699306129 +0100 @@ -3,7 +3,7 @@ # Provided by Eric Hansander <e...@users.sourceforge.net> in # <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349035> -have debfoster && +_have debfoster && _debfoster() { local cur prev options @@ -38,4 +38,4 @@ return 0 } -test "$have" && complete -F _debfoster $default debfoster +declare -F _have &>/dev/null && complete -F _debfoster $default debfoster