Skip to content

Commit 8e9baf0

Browse files
committed
Upstream.
1 parent 8c3c03b commit 8e9baf0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_lib/ubiquitous_bash

ubiquitous_bash.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _ub_cksum_special_derivativeScripts_contents() {
3636
#export ub_setScriptChecksum_disable='true'
3737
( [[ -e "$0".nck ]] || [[ "${BASH_SOURCE[0]}" != "${0}" ]] || [[ "$1" == '--profile' ]] || [[ "$1" == '--script' ]] || [[ "$1" == '--call' ]] || [[ "$1" == '--return' ]] || [[ "$1" == '--devenv' ]] || [[ "$1" == '--shell' ]] || [[ "$1" == '--bypass' ]] || [[ "$1" == '--parent' ]] || [[ "$1" == '--embed' ]] || [[ "$1" == '--compressed' ]] || [[ "$0" == "/bin/bash" ]] || [[ "$0" == "-bash" ]] || [[ "$0" == "/usr/bin/bash" ]] || [[ "$0" == "bash" ]] ) && export ub_setScriptChecksum_disable='true'
3838
export ub_setScriptChecksum_header='2591634041'
39-
export ub_setScriptChecksum_contents='3977996497'
39+
export ub_setScriptChecksum_contents='2563793999'
4040

4141
# CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary.
4242
# WARNING: Performance may be crucial here.
@@ -7498,6 +7498,10 @@ _set_getMost_backend_debian() {
74987498
_getMost_backend_aptGetInstall() {
74997499
# --no-upgrade
75007500
# -o Dpkg::Options::="--force-confold"
7501+
7502+
# ATTRIBUTION-AI: ChatGPT o1-preview 2024-11-20 .
7503+
echo 'APT::AutoRemove::RecommendsImportant "true";
7504+
APT::AutoRemove::SuggestsImportant "true";' | _getMost_backend tee /etc/apt/apt.conf.d/99autoremove-recommends > /dev/null
75017505

75027506
if ! _getMost_backend dash -c 'type apt-fast' > /dev/null 2>&1 || [[ "$RUNNER_OS" != "" ]]
75037507
then

0 commit comments

Comments
 (0)