Skip to content

Commit bd75fa6

Browse files
committed
fix(main/dpkg): Adjust the phrasing of the update-alternatives mandoc hook warning message to be clearer
- For several users, the message was unclear and seemed to imply a serious problem occurring, which was not intended. This should improve the readability of the message.
1 parent 5eb1c25 commit bd75fa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/dpkg/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Debian package management system"
33
TERMUX_PKG_LICENSE="GPL-2.0"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="1.22.6"
6-
TERMUX_PKG_REVISION=3
6+
TERMUX_PKG_REVISION=4
77
# old tarball are removed in https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz
88
TERMUX_PKG_SRCURL=git+https://salsa.debian.org/dpkg-team/dpkg.git
99
TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}"

packages/dpkg/mandoc_hook.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
+ const char *cmd_string = "makewhatis";
3939
+
4040
+ if (!command_in_path(cmd_string)) {
41-
+ warning("failed to detect '%s', not updating manpage database", cmd_string);
41+
+ warning("skipping updating manpage database as '%s' command from 'mandoc' package is not installed", cmd_string);
4242
+ return;
4343
+ }
4444
+

0 commit comments

Comments
 (0)