We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc95cf0 commit cbc3b3bCopy full SHA for cbc3b3b
1 file changed
install_deps.sh
@@ -50,9 +50,10 @@ _DEBIAN_DEBHELPER() {
50
[[ -z $__coreutils_ver ]] && __coreutils_ver="0.0.0"
51
echo "DEBUG: __coreutils_ver:$__coreutils_ver"
52
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
+ # Note: with coreutils < 9.5, `cp --update=none` is not supported.
+ # But the latest debhelper generate such commands.
+ # Using the latest debhelper would fail.
56
+ if dpkg --compare-versions "$__coreutils_ver" lt '9.5~'; then
57
sudo apt install -y --allow-downgrades "$__dir"/builddep/*.deb
58
return 0
59
fi
0 commit comments