Skip to content

Commit cbc3b3b

Browse files
committed
clear comment
1 parent fc95cf0 commit cbc3b3b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

install_deps.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ _DEBIAN_DEBHELPER() {
5050
[[ -z $__coreutils_ver ]] && __coreutils_ver="0.0.0"
5151
echo "DEBUG: __coreutils_ver:$__coreutils_ver"
5252

53-
# Note: latest debhelper calls `cp --update=none` which is unsupported with coreutils < 9.5
54-
# Install a fixed version of debhelper in our repo instead.
55-
if dpkg --compare-versions "$__coreutils_ver" le '9.5~'; then
53+
# Note: with coreutils < 9.5, `cp --update=none` is not supported.
54+
# But the latest debhelper generate such commands.
55+
# Using the latest debhelper would fail.
56+
if dpkg --compare-versions "$__coreutils_ver" lt '9.5~'; then
5657
sudo apt install -y --allow-downgrades "$__dir"/builddep/*.deb
5758
return 0
5859
fi

0 commit comments

Comments
 (0)