aports/community/uutils/coreutils-as-uutils.patch
omni 768bc6110f community/uutils: upgrade to 0.6.0
- allow this to continue as /usr/bin/uutils
- remove now obsolete -stat subpackage
- on loongarch64: downgrade rlimit & libc crates (libc crate issue)
- on s390x: downgrade rlimit & libc crates (nix crate issue)
- on ppc64le: revert breaking uu_stty change
2026-02-04 10:41:29 +00:00

15 lines
665 B
Diff

this has been packaged as /usr/bin/uutils since the inception of this aport,
early 2021, let's not break that expectation
--- a/src/bin/coreutils.rs
+++ b/src/bin/coreutils.rs
@@ -53,7 +53,7 @@ fn main() {
// binary name ends with util name?
let matched_util = utils
.keys()
- .filter(|&&u| binary_as_util.ends_with(u) && !binary_as_util.ends_with("coreutils"))
+ .filter(|&&u| binary_as_util.ends_with(u) && !binary_as_util.ends_with("coreutils") && !binary_as_util.ends_with("uutils"))
.max_by_key(|u| u.len()); //Prefer stty more than tty. coreutils is not ls
let util_name = if let Some(&util) = matched_util {