1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

main/coreutils: install link into /bin

Busybox's symlink is in /bin/link, so link should be added to the list
of symlinks to keep in /bin so that it properly overwrites busybox's
symlink.

This issue was found when testing usr merge downstream in pmOS.
This commit is contained in:
Clayton Craft 2025-04-14 10:14:17 -07:00 committed by Natanael Copa
parent f354b5c6fa
commit 2abbae31dd

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=9.7
pkgrel=0
pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities"
url="https://www.gnu.org/software/coreutils/"
arch="all"
@ -68,7 +68,7 @@ package() {
# Keep some binaries in /bin to replace busybox symlinks
base64|cat|chgrp|chmod|chown|cp|date|dd|df|echo|false|ln|ls|mkdir|\
mknod|mktemp|mv|nice|printenv|pwd|rm|rmdir|sleep|stat|stty|sync|\
touch|true|uname|coreutils) ;;
touch|true|uname|coreutils|link) ;;
*)
if [ -L "$i" ]; then
rm "$i"