From f051f5255c063d6e10637e6efc05876564e8e9be Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 Sep 2023 09:12:41 +0000 Subject: install/deps: safer defaults for regular users We'll leave forcing `--yes' to ci/run.sh and remove --purge usage with apt-get(1) entirely. Also start defining some more profiles aimed at users who want a minimal install for the subset of public-inbox they wish to use. There'll be some more built-in dependency handling to work across different distros, but the $always_deps thing is a start. --- ci/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/run.sh b/ci/run.sh index 5aa22491..54563f1c 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) all contributors # License: AGPL-3.0+ +# Beware, this alters system-wide package installation. set -e SUDO=${SUDO-'sudo'} PERL=${PERL-'perl'} MAKE=${MAKE-'make'} DO=${DO-''} @@ -15,7 +16,7 @@ NPROC=${NPROC-$({ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN || $PERL -w ci/profiles.perl | while read args do - $DO $SUDO $PERL -w install/deps.perl --allow-remove $args + $DO $SUDO $PERL -w install/deps.perl -y --allow-remove $args $DO $PERL Makefile.PL $DO $MAKE -j${BUILD_JOBS-$NPROC} $DO $MAKE -j${TEST_JOBS-1} ${TEST_TARGET-test} -- cgit v1.2.3-24-ge0c7