diff --git a/.conf/VERSIONID b/.conf/VERSIONID index 3ac3f9ecc2..fb747c1b88 100644 --- a/.conf/VERSIONID +++ b/.conf/VERSIONID @@ -1 +1 @@ -2.0.391 +2.0.392 diff --git a/archlinuxconfig.bash b/archlinuxconfig.bash index 48fbbd6a09..82afd583c6 100644 --- a/archlinuxconfig.bash +++ b/archlinuxconfig.bash @@ -26,7 +26,7 @@ printf "\\\\e[1;33mDirectory: \\\\e[1;37m'/home/\$@ exists'\\\\e[0;32m: Exiting. fi } _FUNADDU_() { -[[ ! "\$(command -v sudo)" ]] 2>/dev/null && pci sudo +[[ ! "\$(command -v sudo)" ]] 2>/dev/null && (pc sudo || pc sudo) printf "\\\\e[0;32m%s\\\\n\\\\e[1;32m" "Adding Arch Linux in Termux PRoot user '\$1' and creating Arch Linux in Termux PRoot user \$1's home directory in /home/\$1..." [[ ! -f /etc/sudoers ]] && touch /etc/sudoers sed -i "/# %wheel ALL=(ALL) NOPASSWD: ALL/ s/^# *//" /etc/sudoers diff --git a/espritfunctions.bash b/espritfunctions.bash index 42d0b7596a..973986ad8c 100644 --- a/espritfunctions.bash +++ b/espritfunctions.bash @@ -221,10 +221,49 @@ sleep $SPINDLAY done } -_TAMATRIX_() { # print TermuxArch source code as matrix -# Terminal codes VT100 \\e[?25l information at https://wiki.bash-hackers.org/scripting/terminalcodes website. +_TAMATRIXEND_() { # print TermuxArch source code as matrix ending +# Information about VT100 terminal codes such as \\e[?25l is available at this https://wiki.bash-hackers.org/scripting/terminalcodes website. +printf "\\e[0;32m" +. "$0" help +tail -n 32 "$0" +. "$0" h +printf "\\e[0m" +printf "\\e[?25h" +} + +_TAMATRIX_() { # partial implemintation; print TermuxArch source code as matrix +_DOTAMSTRIX_() { printf "\\e[?25l\\e[1;32m%s" "$(tr -d '\n' < $0)" # split a string from file and print this split string -IFS=';' read -ra TAMATARR <<< "$(tr -d '\n' < $0)" && for EMSTRING in "${TAMATARR[@]}" ; do printf "\\e[0;32m%s" "$EMSTRING" ; sleep 0.0"$(shuf -i 0-999 -n 1)" ; done ; tail -n 8 "$0" ; printf "\\e[0m" ; printf "\\e[?25h"; exit +for EMSTRING in "${TAMATARR[@]}" +do +printf "\\e[0;32m%s" "$EMSTRING" +sleep 0.0"$(shuf -i 0-999 -n 1)" +done +} +IFS=';' read -ra TAMATARR <<< "$(tr -d '\n' < $0)" +if [[ ! -z "${MATRIXLCR:-}" ]] +then +TAMATRIXENDLCR=0 +while : +do +_DOTAMSTRIX_ +done +else +_DOTAMSTRIX_ +fi +_TAMATRIXEND_ +} + +_WAKELOCK_() { +_PRINTWLA_ +am startservice --user 0 -a com.termux.service_wake_lock com.termux/com.termux.app.TermuxService > /dev/null || _PSGI1ESTRING_ "am startservice _WAKELOCK_ necessaryfunctions.bash ${0##/*} : Continuing..." +_PRINTDONE_ +} + +_WAKEUNLOCK_() { +_PRINTWLD_ +am startservice --user 0 -a com.termux.service_wake_unlock com.termux/com.termux.app.TermuxService > /dev/null || _PSGI1ESTRING_ "am startservice _WAKEUNLOCK_ necessaryfunctions.bash ${0##/*} : Continuing..." +_PRINTDONE_ } # espritfunctions.bash EOF diff --git a/necessaryfunctions.bash b/necessaryfunctions.bash index 3c0475594f..7dd28b961f 100644 --- a/necessaryfunctions.bash +++ b/necessaryfunctions.bash @@ -136,6 +136,39 @@ _AARCH64ANDROID_ fi } +_DOMIRROR_() { # partial implementaion: choose the corrrect mirror and test this mirror website +_DOCEMIRROR_() { +USERCOUNTRYCODE="$(getprop gsm.operator.iso-country || getprop gsm.sim.operator.iso-country)" +printf "Copying file '%s' to file '%s'; " "$INSTALLDIR/etc/pacman.d/mirrorlist" "$INSTALLDIR/etc/pacman.d/mirrorlist.$STIME.termuxarchnew" +cp "$INSTALLDIR/etc/pacman.d/mirrorlist" "$INSTALLDIR/etc/pacman.d/mirrorlist.$STIME.termuxarchnew" +printf "DONE\\n" +if [[ $USERCOUNTRYCODE == us ]] +then +RUSRCOUNTRYCODE="$USERCOUNTRYCODE" +USERCOUNTRYCODE="edu" +fi +CHSENMIR="$(grep -w http "$INSTALLDIR/etc/pacman.d/mirrorlist" | grep ^#S | grep -w "$USERCOUNTRYCODE" | awk 'sub(/^.{1}/,"")' | head -n 1)" +printf "%s\\n" "$CHSENMIR" >> "$INSTALLDIR/etc/pacman.d/mirrorlist" +printf "Uncommented mirror '%s' in file '%s'; Continuing...\\n" "$CHSENMIR" "${INSTALLDIR##*/}/etc/pacman.d/mirrorlist" +DOMIRLCR=0 +} +if [[ -f "$INSTALLDIR/var/lock/${INSTALLDIR##*/}/domirror.lock" ]] +then +printf "Lockfile '%s' exists; Continuing..." "~/${INSTALLDIR##*/}/var/lock/${INSTALLDIR##*/}/domirror.lock" +else +if ! grep ^Server "$INSTALLDIR/etc/pacman.d/mirrorlist" +then +_DOCEMIRROR_ +fi +fi +} + +_DOPROXY_() { +[[ -f "$HOME"/.bash_profile ]] && grep -s "proxy" "$HOME"/.bash_profile | grep -s "export" >> root/bin/"$BINFNSTP" ||: +[[ -f "$HOME"/.bashrc ]] && grep -s "proxy" "$HOME"/.bashrc | grep -s "export" >> root/bin/"$BINFNSTP" ||: +[[ -f "$HOME"/.profile ]] && grep -s "proxy" "$HOME"/.profile | grep -s "export" >> root/bin/"$BINFNSTP" ||: +} + _KERNID_() { declare KID="" ur="$(uname -r)" @@ -177,12 +210,6 @@ _PRINTSTARTBIN_USAGE_ exit } -_DOPROXY_() { -[[ -f "$HOME"/.bash_profile ]] && grep -s "proxy" "$HOME"/.bash_profile | grep -s "export" >> root/bin/"$BINFNSTP" ||: -[[ -f "$HOME"/.bashrc ]] && grep -s "proxy" "$HOME"/.bashrc | grep -s "export" >> root/bin/"$BINFNSTP" ||: -[[ -f "$HOME"/.profile ]] && grep -s "proxy" "$HOME"/.profile | grep -s "export" >> root/bin/"$BINFNSTP" ||: -} - _MAKEFINISHSETUP_() { _DOKEYS_() { if [[ "$CPUABI" = "$CPUABIX86" ]] || [[ "$CPUABI" = i386 ]] @@ -238,7 +265,7 @@ then printf "%s\\n" "pacman -Su grep gzip patch sed sudo unzip --noconfirm --color=always || pacman -Su gzip patch sed sudo unzip --noconfirm --color=always || _PMFSESTRING_ \"pacman -Su gzip patch sed sudo unzip $BINFNSTP ${0##/*}\"" >> root/bin/"$BINFNSTP" elif [[ "$CPUABI" = "$CPUABIX86" ]] || [[ "$CPUABI" = i386 ]] then -printf "%s\\n" "pacman -Su patch sudo unzip --noconfirm --color=always || pacman -Su patch sudo unzip --noconfirm --color=always || _PMFSESTRING_ \"pacman -Su patch sudo unzip $BINFNSTP ${0##/*}\"" >> root/bin/"$BINFNSTP" +printf "%s\\n" "pacman -Su sudo --noconfirm --color=always || pacman -Su sudo --noconfirm --color=always || _PMFSESTRING_ \"pacman -Su sudo $BINFNSTP ${0##/*}\"" >> root/bin/"$BINFNSTP" fi fi cat >> root/bin/"$BINFNSTP" <<- EOM @@ -428,13 +455,16 @@ _FIXOWNER_ _PREPROOT_() { if [[ "$CPUABI" = "$CPUABIX86" ]] || [[ "$CPUABI" = "$CPUABIX86_64" ]] || [[ "$CPUABI" = i386 ]] || [[ "$IFILE" == *i686* ]] then -_TASPINNER_ clock & proot --link2symlink -0 bsdtar -p -xf "$IFILE" --strip-components 1 ; kill $! +_TASPINNER_ clock & proot --link2symlink -0 tar -p -xf "$IFILE" --strip-components 1 ; kill $! else -_TASPINNER_ clock & proot --link2symlink -0 bsdtar -p -xf "$IFILE" ; kill $! +_TASPINNER_ clock & proot --link2symlink -0 tar -p -xf "$IFILE" ; kill $! fi } _RUNFINISHSETUP_() { +_SEDUNCOM_() { +sed -i "/\/mirror.archlinuxarm.org/ s/^# *//" "$INSTALLDIR/etc/pacman.d/mirrorlist" || _PSGI1ESTRING_ "sed -i _SEDUNCOM_ necessaryfunctions.bash ${0##*/}" # sed replace a character in a matched line in place +} _ADDresolvconf_ ALMLLOCN="$INSTALLDIR/etc/pacman.d/mirrorlist" cp "$ALMLLOCN" "$INSTALLDIR/var/backups/${INSTALLDIR##*/}/etc/mirrorlist.$SDATE.bkp" || _PSGI1ESTRING_ "cp _RUNFINISHSETUP_ necessaryfunctions.bash ${0##*/}" @@ -443,10 +473,11 @@ then AL32MRLT="https://git.archlinux32.org/packages/plain/core/pacman-mirrorlist/mirrorlist" printf "\\e[0m\\n%s\\n" "Updating ${ALMLLOCN##*/} from $AL32MRLT." curl --retry 4 "$AL32MRLT" -o "$ALMLLOCN" +_DOMIRROR_ +elif [[ "$CPUABI" = "$CPUABIX86_64" ]] +then +_DOMIRROR_ fi -_SEDUNCOM_() { -sed -i "/\/mirror.archlinuxarm.org/ s/^# *//" "$INSTALLDIR/etc/pacman.d/mirrorlist" || _PSGI1ESTRING_ "sed -i _SEDUNCOM_ necessaryfunctions.bash ${0##*/}" # sed replace a character in a matched line in place -} printf "\\e[0m" if [[ "$FSTND" ]] then @@ -462,6 +493,9 @@ printf "%s\\n" "Did not find server $NMIR in /etc/pacman.d/mirrorlist; Adding $N printf "%s\\n" "Server = $NLCMIRROR/\$arch/\$repo" >> "$INSTALLDIR/etc/pacman.d/mirrorlist" fi else +if [[ -z "${DOMIRLCR:-}" ]] +then +DOMIRLCR=0 if [[ -z "${USEREDIT:-}" ]] || [[ "$USEREDIT" = "" ]] then _EDITORS_ @@ -473,11 +507,12 @@ fi fi "$USEREDIT" "$INSTALLDIR/etc/pacman.d/mirrorlist" fi +fi $INSTALLDIR/root/bin/setupbin.bash || _PRINTPROOTERROR_ } _SETLANGUAGE_() { # This function uses device system settings to set locale. To generate locales in a preferred language, you can use "Settings > Language & Keyboard > Language" in Android; Then run 'setupTermuxArch r' for a quick system refresh to regenerate locales in your preferred language. -ULANGUAGE="unkown" +ULANGUAGE="C" LANGIN=([0]="$(getprop user.language)") LANGIN+=([1]="$(getprop user.region)") LANGIN+=([2]="$(getprop persist.sys.country)") @@ -487,17 +522,17 @@ LANGIN+=([5]="$(getprop ro.product.locale)") LANGIN+=([6]="$(getprop ro.product.locale.language)") LANGIN+=([7]="$(getprop ro.product.locale.region)") touch "$INSTALLDIR"/etc/locale.gen -ULANGUAGE="${LANGIN[0]:-unknown}_${LANGIN[1]:-unknown}" +ULANGUAGE="${LANGIN[0]:-C}_${LANGIN[1]:-C}" if ! grep -q "$ULANGUAGE" "$INSTALLDIR"/etc/locale.gen then -ULANGUAGE="unknown" +ULANGUAGE="C" fi if [[ "$ULANGUAGE" != *_* ]] then -ULANGUAGE="${LANGIN[3]:-unknown}_${LANGIN[2]:-unknown}" +ULANGUAGE="${LANGIN[3]:-C}_${LANGIN[2]:-C}" if ! grep -q "$ULANGUAGE" "$INSTALLDIR"/etc/locale.gen then -ULANGUAGE="unknown" +ULANGUAGE="C" fi fi for i in "${!LANGIN[@]}" @@ -510,10 +545,10 @@ fi done if [[ "$ULANGUAGE" != *_* ]] then -ULANGUAGE="${LANGIN[6]:-unknown}_${LANGIN[7]:-unknown}" +ULANGUAGE="${LANGIN[6]:-C}_${LANGIN[7]:-C}" if ! grep -q "$ULANGUAGE" "$INSTALLDIR"/etc/locale.gen then -ULANGUAGE="unknown" +ULANGUAGE="C" fi fi if [[ "$ULANGUAGE" != *_* ]] @@ -541,16 +576,4 @@ _RUNFINISHSETUP_ rm -f root/bin/$BINFNSTP rm -f root/bin/setupbin.bash } - -_WAKELOCK_() { -_PRINTWLA_ -am startservice --user 0 -a com.termux.service_wake_lock com.termux/com.termux.app.TermuxService > /dev/null || _PSGI1ESTRING_ "am startservice _WAKELOCK_ necessaryfunctions.bash ${0##/*} : Continuing..." -_PRINTDONE_ -} - -_WAKEUNLOCK_() { -_PRINTWLD_ -am startservice --user 0 -a com.termux.service_wake_unlock com.termux/com.termux.app.TermuxService > /dev/null || _PSGI1ESTRING_ "am startservice _WAKEUNLOCK_ necessaryfunctions.bash ${0##/*} : Continuing..." -_PRINTDONE_ -} # necessaryfunctions.bash EOF diff --git a/printoutstatements.bash b/printoutstatements.bash index 1cee78cb7d..485992e733 100644 --- a/printoutstatements.bash +++ b/printoutstatements.bash @@ -15,7 +15,7 @@ FLHDR1[1]="# IFS=$'\\n\\t'" FLHDR1[2]="set -Eeuo pipefail" FLHDR1[3]="shopt -s nullglob globstar" FLHDR1[4]="unset LD_PRELOAD" -FLHDR1[5]="VERSIONID=2.0.390" +FLHDR1[5]="VERSIONID=2.0.391" FLHDR1[6]="" FLHDRP[0]="## BEGIN #####################################################################" FLHDRP[1]="" diff --git a/setupTermuxArch b/setupTermuxArch index 98f2333cd3..88462a59b7 100755 --- a/setupTermuxArch +++ b/setupTermuxArch @@ -5,13 +5,21 @@ # command 'setupTermuxArch h[elp]' has information how to use this file ################################################################################ IFS=$'\n\t' -VERSIONID=2.0.390 +VERSIONID=2.0.391 set -Eeuo pipefail shopt -s nullglob globstar umask 0022 unset LD_PRELOAD ## INIT FUNCTIONS ############################################################## ## The entire dataset can be viewed and work on with command 'setupTermuxArch bloom' which downloads all the components of TermuxArch into a ~/TermuxArchBloom directory in the home directory. The command 'setupTermuxArch bloom' is very similar to command 'setupTermuxArch manual' but much more expansive, verbose. Command 'setupTermuxArch h[elp]' has additional information how to use this file. + +_TAMATRIXEXIT_() { # run when Matrix presentation ends +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi +} + _STRPERROR_() { # run on script error local RV="$?" printf "\\e[?25h\\n\\e[1;48;5;138m %s\\e[0m\\n" "TermuxArch WARNING: Generated script signal ${RV:-unknown} near or at line number ${1:-unknown} by '${2:-command}'!" @@ -31,6 +39,10 @@ _STRPEXIT_() { # run on exit local RV="$?" rm -rf "$TAMPDIR" sleep 0.04 +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi if [[ "$RV" = 0 ]] then printf "\\e[0;32mCommand \\e[1;32m%s \\e[0;32mversion %s\\e[1;34m: \\e[1;32m%s\\e[0m\\n\\n" "'${0##*/} $ARGS'" "$VERSIONID" "DONE 🏁 " @@ -707,7 +719,7 @@ rm -rf "$INSTALLDIR" 2>/dev/null || _PSGI1ESTRING_ "rm -rf _RMARCHRM_ setupTermu } _SETROOT_EXCEPTION_ declare -a EXONSTGE -EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d)") +EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d 2>/dev/null ||:)") _DOEXONSTGE_() { for EXONSTGEM in ${EXONSTGE[@]} do @@ -794,7 +806,7 @@ else STIME="$SDATE" && STIME="$(rev <<< "${STIME:7:4}")" fi ONESA="${SDATE: -1}" -PKGS=(bsdtar proot) +PKGS=(proot) STIME="$ONESA$STIME" ## 5) Get device information via the 'getprop' command, ## 6) Determine its own name and location of invocation, @@ -927,6 +939,14 @@ printf "\\nSetting 'lftp' as download manager.\\n" DM=lftp _OPT1_ "$@" _INTRO_ "$@" +## [matr[ix]] Print TermuxArch source code as Matrix loop +elif [[ "${1//-}" = [Mm][Aa][Tt][Rr]* ]] +then +printf "\\nSetting mode to matrix loop.\\n" +MATRIXLCR=0 +_PREPTERMUXARCH_ +_DEPENDSBLOCK_ "$@" +_TAMATRIX_ ## [mat[ix]] Print TermuxArch source code as Matrix elif [[ "${1//-}" = [Mm][Aa][Tt]* ]] then diff --git a/setupTermuxArch.bash b/setupTermuxArch.bash index 98f2333cd3..88462a59b7 100755 --- a/setupTermuxArch.bash +++ b/setupTermuxArch.bash @@ -5,13 +5,21 @@ # command 'setupTermuxArch h[elp]' has information how to use this file ################################################################################ IFS=$'\n\t' -VERSIONID=2.0.390 +VERSIONID=2.0.391 set -Eeuo pipefail shopt -s nullglob globstar umask 0022 unset LD_PRELOAD ## INIT FUNCTIONS ############################################################## ## The entire dataset can be viewed and work on with command 'setupTermuxArch bloom' which downloads all the components of TermuxArch into a ~/TermuxArchBloom directory in the home directory. The command 'setupTermuxArch bloom' is very similar to command 'setupTermuxArch manual' but much more expansive, verbose. Command 'setupTermuxArch h[elp]' has additional information how to use this file. + +_TAMATRIXEXIT_() { # run when Matrix presentation ends +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi +} + _STRPERROR_() { # run on script error local RV="$?" printf "\\e[?25h\\n\\e[1;48;5;138m %s\\e[0m\\n" "TermuxArch WARNING: Generated script signal ${RV:-unknown} near or at line number ${1:-unknown} by '${2:-command}'!" @@ -31,6 +39,10 @@ _STRPEXIT_() { # run on exit local RV="$?" rm -rf "$TAMPDIR" sleep 0.04 +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi if [[ "$RV" = 0 ]] then printf "\\e[0;32mCommand \\e[1;32m%s \\e[0;32mversion %s\\e[1;34m: \\e[1;32m%s\\e[0m\\n\\n" "'${0##*/} $ARGS'" "$VERSIONID" "DONE 🏁 " @@ -707,7 +719,7 @@ rm -rf "$INSTALLDIR" 2>/dev/null || _PSGI1ESTRING_ "rm -rf _RMARCHRM_ setupTermu } _SETROOT_EXCEPTION_ declare -a EXONSTGE -EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d)") +EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d 2>/dev/null ||:)") _DOEXONSTGE_() { for EXONSTGEM in ${EXONSTGE[@]} do @@ -794,7 +806,7 @@ else STIME="$SDATE" && STIME="$(rev <<< "${STIME:7:4}")" fi ONESA="${SDATE: -1}" -PKGS=(bsdtar proot) +PKGS=(proot) STIME="$ONESA$STIME" ## 5) Get device information via the 'getprop' command, ## 6) Determine its own name and location of invocation, @@ -927,6 +939,14 @@ printf "\\nSetting 'lftp' as download manager.\\n" DM=lftp _OPT1_ "$@" _INTRO_ "$@" +## [matr[ix]] Print TermuxArch source code as Matrix loop +elif [[ "${1//-}" = [Mm][Aa][Tt][Rr]* ]] +then +printf "\\nSetting mode to matrix loop.\\n" +MATRIXLCR=0 +_PREPTERMUXARCH_ +_DEPENDSBLOCK_ "$@" +_TAMATRIX_ ## [mat[ix]] Print TermuxArch source code as Matrix elif [[ "${1//-}" = [Mm][Aa][Tt]* ]] then diff --git a/setupTermuxArch.sh b/setupTermuxArch.sh index 98f2333cd3..88462a59b7 100755 --- a/setupTermuxArch.sh +++ b/setupTermuxArch.sh @@ -5,13 +5,21 @@ # command 'setupTermuxArch h[elp]' has information how to use this file ################################################################################ IFS=$'\n\t' -VERSIONID=2.0.390 +VERSIONID=2.0.391 set -Eeuo pipefail shopt -s nullglob globstar umask 0022 unset LD_PRELOAD ## INIT FUNCTIONS ############################################################## ## The entire dataset can be viewed and work on with command 'setupTermuxArch bloom' which downloads all the components of TermuxArch into a ~/TermuxArchBloom directory in the home directory. The command 'setupTermuxArch bloom' is very similar to command 'setupTermuxArch manual' but much more expansive, verbose. Command 'setupTermuxArch h[elp]' has additional information how to use this file. + +_TAMATRIXEXIT_() { # run when Matrix presentation ends +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi +} + _STRPERROR_() { # run on script error local RV="$?" printf "\\e[?25h\\n\\e[1;48;5;138m %s\\e[0m\\n" "TermuxArch WARNING: Generated script signal ${RV:-unknown} near or at line number ${1:-unknown} by '${2:-command}'!" @@ -31,6 +39,10 @@ _STRPEXIT_() { # run on exit local RV="$?" rm -rf "$TAMPDIR" sleep 0.04 +if [[ ! -z "${TAMATRIXENDLCR:-}" ]] +then +_TAMATRIXEND_ +fi if [[ "$RV" = 0 ]] then printf "\\e[0;32mCommand \\e[1;32m%s \\e[0;32mversion %s\\e[1;34m: \\e[1;32m%s\\e[0m\\n\\n" "'${0##*/} $ARGS'" "$VERSIONID" "DONE 🏁 " @@ -707,7 +719,7 @@ rm -rf "$INSTALLDIR" 2>/dev/null || _PSGI1ESTRING_ "rm -rf _RMARCHRM_ setupTermu } _SETROOT_EXCEPTION_ declare -a EXONSTGE -EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d)") +EXONSTGE=("$(find "$INSTALLDIR" -name storage -type d 2>/dev/null ||:)") _DOEXONSTGE_() { for EXONSTGEM in ${EXONSTGE[@]} do @@ -794,7 +806,7 @@ else STIME="$SDATE" && STIME="$(rev <<< "${STIME:7:4}")" fi ONESA="${SDATE: -1}" -PKGS=(bsdtar proot) +PKGS=(proot) STIME="$ONESA$STIME" ## 5) Get device information via the 'getprop' command, ## 6) Determine its own name and location of invocation, @@ -927,6 +939,14 @@ printf "\\nSetting 'lftp' as download manager.\\n" DM=lftp _OPT1_ "$@" _INTRO_ "$@" +## [matr[ix]] Print TermuxArch source code as Matrix loop +elif [[ "${1//-}" = [Mm][Aa][Tt][Rr]* ]] +then +printf "\\nSetting mode to matrix loop.\\n" +MATRIXLCR=0 +_PREPTERMUXARCH_ +_DEPENDSBLOCK_ "$@" +_TAMATRIX_ ## [mat[ix]] Print TermuxArch source code as Matrix elif [[ "${1//-}" = [Mm][Aa][Tt]* ]] then diff --git a/setupTermuxArch.sha512 b/setupTermuxArch.sha512 index 9ceea0438f..f3838e467f 100644 --- a/setupTermuxArch.sha512 +++ b/setupTermuxArch.sha512 @@ -1 +1 @@ -9beae1fa8def4d7d767b0d7c72ce1d39ec39b5c545854e37a35c08b7a11f5ce100d38f1028c5a32e936b387623cfe847be8a6188c615415bc7b53a628e1b5d98 setupTermuxArch.tar.gz +284efd2ebf3156df90ad155769954162a5b9d05dc59ab21469bb86fdcc1c9808fe9d9f81e40151f5f25678511cf969b96d0aeedaf5bba0c3f5dafd2453120355 setupTermuxArch.tar.gz diff --git a/setupTermuxArch.tar.gz b/setupTermuxArch.tar.gz index 763e27a74f..7115850c5c 100644 Binary files a/setupTermuxArch.tar.gz and b/setupTermuxArch.tar.gz differ diff --git a/sha512.sum b/sha512.sum index 7124ba9fb1..bbbc0d40df 100644 --- a/sha512.sum +++ b/sha512.sum @@ -1,12 +1,12 @@ 226baf6d6d8964bdaefd3321b50f6fabe55972e60dfd86a943cf8c51e32a1bbd3144003c06fa2d98b2bc625b2df6adec45987a41dc11671b12c22ded095c85f8 ./getimagefunctions.bash -429147006e86eb51851c9624e8ac4c584a72541db3d9a675e012e0e183d558375de1770a6115c1c5ff39de42eaef752eb5f4bc0db375078c58b7d290aed174a4 ./espritfunctions.bash -cdbdd9c25333a8124f87902e33743114dae34565019012aa817a24aa324ad17dfd4a480629194d3c6d678b16eef8a9003749a1dbd88518a18ca3aee02eb057e3 ./necessaryfunctions.bash +2abda2d34b256e70b623f3123fd6decdbb01165878eeeda29725ab3ab7c206eb61957caa9c6b8fc52530fce83f14b1c31dcd914c1ea9fa95bd9a46a1ce4df31d ./espritfunctions.bash +b5036632e780e267f45475d7c84edef8e22beca574bd566ac7ea863691159b77da91bab013a0b3c1079aadc57740315708dc255840542e6b20d6e0ec312017cf ./necessaryfunctions.bash 5c5fcc5e8edf82afdd683a2467241296f53f9d3b9214f47b74b39e6e086af82af7d58f1133ae8cde5aeeef10c7be506e870e35d86d21729d36ff1c226ce4994a ./maintenanceroutines.bash 20ade307e6d2f9ecfe688f67774f7d3eff6ddea509dfa7f30bd39787f31c8738de93e092f9b03beae8399d3bad1b07087d3f5c9b2955ab3d08a31d0fd3a1ce09 ./README.md 8fa003af5524d81bfcd74663833f64bc00791a1ca7894f74bfaba8012736ed60beaf89ca932fd69a0fa3104e9a48944bc1a0b14634a41848688af6d409859024 ./CHANGE.log -9beae1fa8def4d7d767b0d7c72ce1d39ec39b5c545854e37a35c08b7a11f5ce100d38f1028c5a32e936b387623cfe847be8a6188c615415bc7b53a628e1b5d98 ./setupTermuxArch.tar.gz +284efd2ebf3156df90ad155769954162a5b9d05dc59ab21469bb86fdcc1c9808fe9d9f81e40151f5f25678511cf969b96d0aeedaf5bba0c3f5dafd2453120355 ./setupTermuxArch.tar.gz a168fe76a5e82133887351e1410042e628d4f79c753f58d449a6205659259267d287847f73c9366515b3132aaaa9aec69cf55349486a0de989f7dc02015062ec ./knownconfigurations.bash -f8761056aef134d5a820a023c5421c940c87a5d34cdccef96f5d0c0e4397e4604446654ab0f5fe07a6bf9521514c5c996bbb902f01a840e54230cf21ee4aad87 ./archlinuxconfig.bash +bd5a0c7a4f171f9959308a216bc48eb98fac64f5dd16c610296dd76f3e9d4ebad3d9c2dead767b1a0915ca5a09f6eea4891ff6539c6d22941f6777f05b64af54 ./archlinuxconfig.bash 05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml 5e20f4451f28b2ad8cd03e174bafa7c5d2d08cb3d9c6364a1f36b47fa1a2ae7e222970337f1481f149b6f87894f59e113bc49924776d558f0eb0773f6eebcd56 ./.github/workflows/label.yml ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml @@ -14,17 +14,17 @@ ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff0 fdcfcc010ded1ca05a1ac51878f6fce049a7c3d3ca9b45d19a57ff8cac47a77eafbb50307e0fe22bf51364878d7f222d38dd2fa5a8eca5c33cdc6ed3830070f6 ./pullTermuxArchSubmodules.bash be4cf1b862e9843e359c08d8fbe90eff27e193a4f864b1937b3cad1fffecdf2374541eb21359fbe6b346e4bd1db4e223861878389f8e887f78ba06f53feb8eb7 ./.gitpod.yml 1fbd5bbe1d7a8fad9bcbfe3410fab3ebbd1e79bc728b301eeb78b956357d3d0cd5829e500879e5621eb531147f2c2fc0e4f76f313dd515892bec6010bd3a2a00 ./LICENSE -269fd576e978ed9e76e5e4564729393e7ab1d9498c8b34a488d55415bf69fd477db81df6ae1417b62b9195156b589b93ad2a2a28ed8fe62e32fa32b04580af37 ./setupTermuxArch +6df0a179dc441849b1fb5fd4a648344088f440832cb1fb2b110a7f9b5d757befa17aab09398895aaeb6fb0d145293cd051bf7547824e59977d0da1fa04e3405c ./setupTermuxArch 9ae12dac3a7ad11cc929036d608e0113595925c48f6f9bf65af299bf01e1b0dbf9eedaa118c53bf957ae909c52e322bf7431b95ca0cc8517924321c678346dcb ./sitemap.txt 90559e5df2d5893d892680f9618863cd946d1677098b5c69edba59d8475b3d38f2e558e799bb4c85d354ef6abe232e31d90ca307a039d17db4bf402dc1f9786e ./.gitmodules -fd96349161a08ba91a75d47da94f31ae12ec0b7d599891e9cfc7f7e2a179ff80897f99b1a05b099b0365ab09632c58734819517baa931539e647ab1384086759 ./printoutstatements.bash +fe6b176f7091b99a27262569baa8c6b36a808acd045c51af1b17b86c869b4b0d561e2fa64a3736ee975ec5bde00c9a9767fd555d85250b65f5b1a66f5121b16d ./printoutstatements.bash b6178b0fdb2f619b4be5034fbab5c42eba5f7ab699f7e6870e8203a7e22d0e0db7104675dc1f8f45cd8b2925eaddcfa14e217196e48537b6cf46d4448807deef ./setupTermuxArchConfigs.bash e3e04c865fd494f4c6e2492d30ae34008073fdb652ebdd7f9d47cd34c065b8abbefea94247810522babbe83a617f08a1e3c43c0682dcfb1185752cd22130eab8 ./CONTRIBUTORS.md ccf293248249a718ec3e2dd92af558241a9510bbf575ed6af48158acc302cefd7b5cc41d30ac6e525c35de5afd396691a33a35890918d9b537046b1dcf8d7df0 ./404.md -41638ab44ab8d02207e3081e78ce8ca371d1c5f3f30e74de7eadba669d3e45ac2132e1ba6e107aa9bb6fdcea2dae0ccd8bd9ca5e7312c13d5641f72e5c5b7585 ./.conf/VERSIONID +f597b787143d31fc039db321814a43c98dac9ab421d533497626edc7fab5140e3f42edd7ce3d39b76f2830d1b8594a0d17c05c1b6069807b94c1dfbd07a681e0 ./.conf/VERSIONID 494c1a4bbb505fb3009f0e434530b6401adf6fb502fd0f01eb31b757e6dd397fd2e78dc603ef03de0f86faaa25fcb763f1b5b8c2aa397ff8f5cbda6728351722 ./NOTICE.md 6f8a50ec0f811b35515666ecf5131bc59391a32a4760dd9994c64b2209544532dac4160c61dc0a53622b6453d34e6061b810e7a64bdcc853cf795e10d21ba3b8 ./robots.txt -269fd576e978ed9e76e5e4564729393e7ab1d9498c8b34a488d55415bf69fd477db81df6ae1417b62b9195156b589b93ad2a2a28ed8fe62e32fa32b04580af37 ./setupTermuxArch.sh -269fd576e978ed9e76e5e4564729393e7ab1d9498c8b34a488d55415bf69fd477db81df6ae1417b62b9195156b589b93ad2a2a28ed8fe62e32fa32b04580af37 ./setupTermuxArch.bash +6df0a179dc441849b1fb5fd4a648344088f440832cb1fb2b110a7f9b5d757befa17aab09398895aaeb6fb0d145293cd051bf7547824e59977d0da1fa04e3405c ./setupTermuxArch.sh +6df0a179dc441849b1fb5fd4a648344088f440832cb1fb2b110a7f9b5d757befa17aab09398895aaeb6fb0d145293cd051bf7547824e59977d0da1fa04e3405c ./setupTermuxArch.bash b9303b1c4ccd5cb151e65c243005e9bcf59182b02fb413d47a255672a85dc08adf323e754d1615f9ce5962e97b7824d2a78047cd56972c9109f3e7e5d1ab7a17 ./.gitpod.Dockerfile -f4bfbb0e59358880b5f6e3e8f87f391635140f4d94acf9415ca19f8a530e7891ab45e18fb7af2315fa0f23022621d04fcc89fbaf74ec0ecc94aefb29329d856b ./setupTermuxArch.sha512 +faac230bf068175878b985231b7ad799012283a72a5820d30a88f68e7426226e33a271806b58c92d010d0e56129c7d6fe6e1980bb5087357ab8682d30911ae87 ./setupTermuxArch.sha512