logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: fb35fcac4cc0ef276d747624e9257a86c0bce329
parent 0a98747dab8bf10024228a53dd6deeb55c070907
Author: fosslinux <fosslinux@aussies.space>
Date:   Sat, 13 Jan 2024 07:47:17 +1100

Uninstall previous perl files using uninstall rather than src_install

Diffstat:

Msteps/manifest3++-
Msteps/perl-5.10.1/pass1.sh7-------
Msteps/perl-5.32.1/pass1.sh3---
Msteps/perl-5.6.2/pass1.sh7-------
Msteps/perl5.004-05/pass1.sh7-------
Msteps/perl5.005-03/pass1.sh7-------
6 files changed, 2 insertions(+), 32 deletions(-)

diff --git a/steps/manifest b/steps/manifest @@ -76,10 +76,10 @@ build: coreutils-6.10 build: gawk-3.0.4 build: perl-5.000 build: perl-5.003 -uninstall: perl-5.000 build: perl5.004-05 build: perl5.005-03 build: perl-5.6.2 +uninstall: perl-5.000 perl-5.003 perl5.004-05 perl5.005-03 improve: populate_device_nodes build: autoconf-2.52 build: automake-1.6.3 @@ -150,6 +150,7 @@ build: bison-3.4.2 build: perl-5.10.1 build: dist-3.5-236 build: perl-5.32.1 +uninstall: perl-5.6.2 perl-5.10.1 build: libarchive-3.5.2 build: openssl-1.1.1l build: ca-certificates-3.95 diff --git a/steps/perl-5.10.1/pass1.sh b/steps/perl-5.10.1/pass1.sh @@ -28,10 +28,3 @@ src_prepare() { mv ext/Digest-SHA ext/Digest/SHA mv ext/Data-Dumper ext/Data/Dumper } - -src_install() { - # Remove old perl - rm -rf "${PREFIX}"/lib/perl5/ - - default -} diff --git a/steps/perl-5.32.1/pass1.sh b/steps/perl-5.32.1/pass1.sh @@ -42,9 +42,6 @@ src_configure() { } src_install() { - # Remove old perl - rm -rf "${PREFIX}"/lib/perl5/ - default # Remove messed up manpages diff --git a/steps/perl-5.6.2/pass1.sh b/steps/perl-5.6.2/pass1.sh @@ -37,10 +37,3 @@ src_prepare() { src_compile() { make -j1 PREFIX="${PREFIX}" } - -src_install() { - # Remove old perl - rm -rf "${PREFIX}"/lib/perl5/ - - default -} diff --git a/steps/perl5.004-05/pass1.sh b/steps/perl5.004-05/pass1.sh @@ -18,10 +18,3 @@ src_prepare() { perl ${file}.pl done } - -src_install() { - # Remove old perl - rm -rf "${PREFIX}"/lib/perl5/ - - default -} diff --git a/steps/perl5.005-03/pass1.sh b/steps/perl5.005-03/pass1.sh @@ -22,10 +22,3 @@ src_prepare() { rm -f fbyterun.h byterun.c perl bytecode.pl } - -src_install() { - # Remove old perl - rm -rf "${PREFIX}"/lib/perl5/ - - default -}