Skip to content

Commit

Permalink
Upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
mirage335 committed Oct 24, 2023
1 parent b96bea9 commit 3fbd953
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _lib/ubiquitous_bash
19 changes: 15 additions & 4 deletions ubiquitous_bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ _ub_cksum_special_derivativeScripts_contents() {
#export ub_setScriptChecksum_disable='true'
( [[ -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'
export ub_setScriptChecksum_header='2591634041'
export ub_setScriptChecksum_contents='2956135850'
export ub_setScriptChecksum_contents='3508318506'

# CAUTION: Symlinks may cause problems. Disable this test for such cases if necessary.
# WARNING: Performance may be crucial here.
Expand Down Expand Up @@ -6476,6 +6476,12 @@ _getMost_debian11_install() {
_getMost_backend_aptGetInstall gpg
_getMost_backend_aptGetInstall --reinstall wget

_getMost_backend_aptGetInstall apt-utils


_getMost_backend_aptGetInstall pigz
_getMost_backend_aptGetInstall pixz


_messagePlain_probe 'apt-get update'
_getMost_backend apt-get update
Expand Down Expand Up @@ -6791,7 +6797,7 @@ _getMost_debian11_install() {


_getMost_backend_aptGetInstall live-boot
_getMost_backend_aptGetInstall pigz
#_getMost_backend_aptGetInstall pigz

_getMost_backend_aptGetInstall falkon
_getMost_backend_aptGetInstall konqueror
Expand Down Expand Up @@ -7340,8 +7346,13 @@ _getMost_ubuntu22-VBoxManage() {
_set_getMost_backend_debian() {
_getMost_backend_aptGetInstall() {
# --no-upgrade
_messagePlain_probe _getMost_backend env DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install --install-recommends -y "$@"
_getMost_backend env DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install --install-recommends -y "$@"
# -o Dpkg::Options::="--force-confold"

_messagePlain_probe _getMost_backend env XZ_OPT="-T0" DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -q --install-recommends -y "$@"
_getMost_backend env XZ_OPT="-T0" DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -q --install-recommends -y "$@"

#_messagePlain_probe _getMost_backend env XZ_OPT="-T0" DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install --install-recommends -y "$@"
#_getMost_backend env XZ_OPT="-T0" DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install --install-recommends -y "$@"
}

#if [[ -e /etc/issue ]] && cat /etc/issue | grep 'Ubuntu' > /dev/null 2>&1
Expand Down

0 comments on commit 3fbd953

Please sign in to comment.