diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-24 00:08:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-24 00:08:50 +0100 |
commit | b2523734e380d060074602eb5ce53daf7d98803b (patch) | |
tree | 0f6e9c0a8339a7e6bb0b44089507392951245899 /app-arch/tar/tar-1.34-r3.ebuild | |
parent | 622b78d0d832282505f685f2f442c34ea0e8a7b1 (diff) |
gentoo auto-resync : 24:04:2023 - 00:08:50
Diffstat (limited to 'app-arch/tar/tar-1.34-r3.ebuild')
-rw-r--r-- | app-arch/tar/tar-1.34-r3.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-arch/tar/tar-1.34-r3.ebuild b/app-arch/tar/tar-1.34-r3.ebuild index f92891dceff1..da958a84470e 100644 --- a/app-arch/tar/tar-1.34-r3.ebuild +++ b/app-arch/tar/tar-1.34-r3.ebuild @@ -94,6 +94,13 @@ pkg_postinst() { # ensure to preserve the symlink before app-alternatives/tar # is installed if [[ ! -h ${EROOT}/bin/tar ]]; then + if [[ -e ${EROOT}/usr/bin/tar ]] ; then + # bug #904887 + ewarn "${EROOT}/usr/bin/tar exists but is not a symlink." + ewarn "This is expected during Prefix bootstrap and unsual otherwise." + ewarn "Moving away unexpected ${EROOT}/usr/bin/tar to .bak." + mv "${EROOT}/usr/bin/tar" "${EROOT}/usr/bin/tar.bak" || die + fi ln -s gtar "${EROOT}/bin/tar" || die fi } |