logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: f4d43e2113086917d3e70b39183ed968e2369011
parent 0b7bd2a46d8e3fafb00b45d8e6c427fb94d452af
Author: fosslinux <fosslinux@aussies.space>
Date:   Fri, 14 Jan 2022 22:01:15 +1100

Make tar installable under packaging

Diffstat:

Msysc/tar-1.34/tar-1.34.sh4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sysc/tar-1.34/tar-1.34.sh b/sysc/tar-1.34/tar-1.34.sh @@ -2,6 +2,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later + src_prepare() { default @@ -26,4 +27,7 @@ src_compile() { src_install() { make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}" + # Manually install tar (cannot replace tar while running) + cp "${DESTDIR}${PREFIX}/bin/tar" "${PREFIX}/bin/tar" + rm "${DESTDIR}${PREFIX}/bin/tar" }