Skip to content

Commit

Permalink
commit 20220715.93fe0e5c
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Jul 15, 2022
1 parent 5137186 commit d020067
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .conf/VERSIONID
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.557
2.0.558
31 changes: 18 additions & 13 deletions archlinuxconfig.bash
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ printf "%s\\n" "export TZ=\"$(getprop persist.sys.timezone)\"
_ADDbashrc_() {
[ -e root/.bashrc ] && _DOTHRF_ "root/.bashrc"
cat > root/.bashrc <<- EOM
function _AM_() {
command -v am 1>/dev/null || cp "$PREFIX"/bin/am "$TMXRCHBNDR"
}
function _PWD_() {
printf '%s\n' "\$PWD"
}
Expand All @@ -125,14 +128,14 @@ alias ..='cd ../.. && _PWD_'
alias ...='cd ../../.. && _PWD_'
alias ....='cd ../../../.. && _PWD_'
alias .....='cd ../../../../.. && _PWD_'
alias aiabrowser='am start -a android.intent.action.VIEW -d "content://com.android.externalstorage.documents/root/primary"' ## Reference [Android 11 (with Termux storage permission denied) question; What's the source for the shortcut to the file manager of the settings app?](https://www.reddit.com/r/termux/comments/msq7lm/android_11_with_termux_storage_permission_denied/) Contributors u/DutchOfBurdock u/xeffyr
alias aiachrome='am start --user 0 -n com.android.chrome/com.google.android.apps.chrome.Main' ## Reference [Can I start an app from Termux's command line? How?](https://www.reddit.com/r/termux/comments/62zi71/can_i_start_an_app_from_termuxs_command_line_how/) Contributors u/u/fornwall u/Kramshet
alias aiadial='am start -a android.intent.action.DIAL'
alias aiafilemanager='am start -a android.intent.action.VIEW -d "content://com.android.externalstorage.documents/root/primary"'
alias aiasearch='am start -a android.intent.action.SEARCH'
alias aiaview='am start -a android.intent.action.VIEW'
alias aiaviewd='am start -a android.intent.action.VIEW -d '
alias aiawebsearch='am start -a android.intent.action.WEB_SEARCH'
alias aiabrowser='_AM_ && am start -a android.intent.action.VIEW -d "content://com.android.externalstorage.documents/root/primary"' ## Reference [Android 11 (with Termux storage permission denied) question; What's the source for the shortcut to the file manager of the settings app?](https://www.reddit.com/r/termux/comments/msq7lm/android_11_with_termux_storage_permission_denied/) Contributors u/DutchOfBurdock u/xeffyr
alias aiachrome='_AM_ && am start --user 0 -n com.android.chrome/com.google.android.apps.chrome.Main' ## Reference [Can I start an app from Termux's command line? How?](https://www.reddit.com/r/termux/comments/62zi71/can_i_start_an_app_from_termuxs_command_line_how/) Contributors u/u/fornwall u/Kramshet
alias aiadial='_AM_ && am start -a android.intent.action.DIAL'
alias aiafilemanager='_AM_ && am start -a android.intent.action.VIEW -d "content://com.android.externalstorage.documents/root/primary"'
alias aiasearch='_AM_ && am start -a android.intent.action.SEARCH'
alias aiaview='_AM_ && am start -a android.intent.action.VIEW'
alias aiaviewd='_AM_ && am start -a android.intent.action.VIEW -d '
alias aiawebsearch='_AM_ && am start -a android.intent.action.WEB_SEARCH'
alias C='cd .. && _PWD_'
alias c='cd .. && _PWD_'
alias CN='cat -n \$(command -v' # use a close parenthesis ) to complete this alias
Expand Down Expand Up @@ -877,7 +880,7 @@ _RCSRPTA1_() { printf "\\e[48;5;112m%s\\e[48;5;28m%s\\e[0;0;0m\\n" "[\$1/\$NBRFC
_RCSNPTNM_() { printf "\\e[48;5;112m%s\\e[48;5;28m%s\\e[0;0;0m\\n" "[\$1/\$NBRFCMDS]" " Running command '\$2' in directory '\$PWD'... " && { { { \$2 && _RCSNPTC0_ "\${1:-}" "\${2:-}" "\${3:-}" "\${4:-}" ; } || printf '%s\n' "\${SRPTNM^^} SIGNAL: \$2" ; } ; printf "\\e[48;5;119m%s\\e[48;5;34m%s\\e[0;0;0m\\n" "[\$1/\$NBRFCMDS]" " Finished running command '\$2'." ; } ; }
_RCSRPTNM_() { printf "\\e[48;5;112m%s\\e[48;5;28m%s\\e[0;0;0m\\n" "[\$1/\$NBRFCMDS]" " Running command '\$2' in directory '\$PWD'... " && { { \$2 || _RCSRPTA0_ "\${1:-}" "\${2:-}" "\${3:-}" "\${4:-}" ; } ; printf "\\e[48;5;119m%s\\e[48;5;34m%s\\e[0;0;0m\\n" "[\$1/\$NBRFCMDS]" " Finished running command '\$2'." ; } ; }
_PRPCLANG_() { command -v clang 1>/dev/null && export CC=clang || { { pc clang || pci clang ; } && export CC=clang ; } ; }
_BULDQEMU_() { { QEMUPKGI=(acpica brltty capstone glusterfs jack libcacard libepoxy libiscsi libnfs liblouis libpulse librpcsecgss libslirp libusb libusb-debug liburing libvirt libxkbcommon make ninja pkgconf pcsc-tools pixman python-sphinx python-sphinx_rtd_theme qemu-tools spice spice-protocol virglrenderer sdl2 sdl2_image) && pc "\${QEMUPKGI[@]}" || pci "\${QEMUPKGI[@]}" ; } && { cd || exit 69 ; }
_BULDQEMU_() { { QEMUPKGI=(acpica brltty capstone glusterfs libcacard libepoxy libiscsi libnfs liblouis libpulse libslirp libusb liburing libvirt libxkbcommon make ninja pkgconf pcsc-tools pixman python-sphinx spice spice-protocol virglrenderer sdl2 sdl2_image) && pc "\${QEMUPKGI[@]}" || pci "\${QEMUPKGI[@]}" ; } && { cd || exit 69 ; }
if [ -d qemu ]
then
cd qemu || exit 69
Expand Down Expand Up @@ -2024,9 +2027,11 @@ EOM
chmod 755 "$TMXRCHBNDS"/tour
}

CCHDRX="$CACHEDIR$CACHEDIRSUFIX"
_ADDtrim_() {
_CFLHDR_ "$TMXRCHBNDS"/trim
cat >> "$TMXRCHBNDS"/trim <<- EOM
[ -f "$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.cachedir.lock ] || { touch "$CCHDRX" && sed -Ei 's/.*#CacheDir.*/CacheDir = ${CCHDRX//\//\\\/}/g' /etc/pacman.conf && :>"$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.cachedir.lock ; }
printf "\\e[1;32m==> \\e[1;37mRunning command \\e[1;32m%s\\e[1;37m…\\n" "\${0##*/}"
[ "\$UID" -eq 0 ] && SUTRIM="" || SUTRIM="sudo"
_DTRM_() {
Expand Down Expand Up @@ -2068,13 +2073,12 @@ find $INSTALLDIR -maxdepth 1 -type f -name "*.tar.gz*" -delete || _PMFSESTRING_
}
printf '%s\n' "Found 0 in file ${CACHEDIR}DLTCCH" && _DPRGLL_
else
_DTRM_
printf '%s' "Found 0 NOT found in file ${CACHEDIR}DLTCCH. "
printf '%s' "0 NOT found in file ${CACHEDIR}DLTCCH. " && _DTRM_
fi
else
_DTRM_
printf '%s' "File ${CACHEDIR}DLTCCH not found. If file ${CACHEDIR}DLTCCH is present with a 0, all the pkg cache files will be removed and trimming steps [1/6]-[6/6] will be used instead of steps [1/3]-[3/3]. Command 'cw \${0##*/})' has more information. "
fi
printf '%s' "File ${CACHEDIR}DLTCCH not found. If file ${CACHEDIR}DLTCCH is present with a 0, all the pkg cache files will be removed and trimming steps [1/6]-[6/6] will be used instead of steps [1/3]-[3/3]. Command 'cw \${0##*/})' has more information. "
## $INSTALLDIR$TMXRCHBNDR/trim FE
EOM
chmod 755 "$TMXRCHBNDS"/trim
Expand Down Expand Up @@ -2325,6 +2329,7 @@ fi
}

_PREPPACMANCONF_() {
[ -f "$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.conf.lock ] || { [ -f "$INSTALLDIR"/etc/pacman.conf ] && { sed -i 's/^CheckSpace/\#CheckSpace/g' "$INSTALLDIR/etc/pacman.conf" && sed -i 's/^#Color/Color/g' "$INSTALLDIR/etc/pacman.conf" && :>"$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.conf.lock ; } ; }
[ -f "$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.conf.lock ] || {
[ -f "$INSTALLDIR"/etc/pacman.conf ] && { sed -i 's/^CheckSpace/\#CheckSpace/g' "$INSTALLDIR/etc/pacman.conf" && sed -i 's/^#Color/Color/g' "$INSTALLDIR/etc/pacman.conf" && :>"$INSTALLDIR"/run/lock/"${INSTALLDIR##*/}"/pacman.conf.lock ; } ; }
}
# archlinuxconfig.bash FE
2 changes: 1 addition & 1 deletion printoutstatements.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FLHDR1[1]=""
FLHDR1[2]="set -Eeuo pipefail"
FLHDR1[3]="shopt -s extglob nullglob globstar"
FLHDR1[4]="unset LD_PRELOAD"
FLHDR1[5]="VERSIONID=2.0.556"
FLHDR1[5]="VERSIONID=2.0.557"
FLHDR1[6]="SRPTNM=\"\${0##*/}\""
FLHDRP[0]="## BEGIN #####################################################################"
FLHDRP[1]=""
Expand Down
5 changes: 3 additions & 2 deletions setupTermuxArch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -Eeuo pipefail
shopt -s extglob nullglob globstar
unset LD_PRELOAD
VERSIONID=2.0.556
VERSIONID=2.0.557
_STRPEROR_() { # run on script error
local RV="$?"
printf "\\e[1;48;5;138m %s" "TermuxArch ${PGNM^^} NOTICE: Generated script signal received ${RV:-UNKNOWN} near or at line number ${1:-UNKNOWN} by '${2:-UNKNOWNCOMMAND}'! "
Expand Down Expand Up @@ -100,7 +100,8 @@ _PRINTSHA512SYSCHKER_
fi
}
_CHKDWN_() {
{ sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" && bsdtar -x -p -f setupTermuxArch.tar.gz ; } || _PRINTSHA512SYSCHKER_
sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" || _PRINTSHA512SYSCHKER_
TMPCMD="bsdtar -x -p -f setupTermuxArch.tar.gz" && $TMPCMD || printf "\\e[1;48;5;138m%s\\e[0m " "TermuxArch ${PGNM^^} SIGNAL $TMPCMD: CONTINUING..."
}
_CHKSELF_() { # compare setupTermuxArch and file being used
cd "$WFDIR" # change directory to working file directory
Expand Down
5 changes: 3 additions & 2 deletions setupTermuxArch.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -Eeuo pipefail
shopt -s extglob nullglob globstar
unset LD_PRELOAD
VERSIONID=2.0.556
VERSIONID=2.0.557
_STRPEROR_() { # run on script error
local RV="$?"
printf "\\e[1;48;5;138m %s" "TermuxArch ${PGNM^^} NOTICE: Generated script signal received ${RV:-UNKNOWN} near or at line number ${1:-UNKNOWN} by '${2:-UNKNOWNCOMMAND}'! "
Expand Down Expand Up @@ -100,7 +100,8 @@ _PRINTSHA512SYSCHKER_
fi
}
_CHKDWN_() {
{ sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" && bsdtar -x -p -f setupTermuxArch.tar.gz ; } || _PRINTSHA512SYSCHKER_
sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" || _PRINTSHA512SYSCHKER_
TMPCMD="bsdtar -x -p -f setupTermuxArch.tar.gz" && $TMPCMD || printf "\\e[1;48;5;138m%s\\e[0m " "TermuxArch ${PGNM^^} SIGNAL $TMPCMD: CONTINUING..."
}
_CHKSELF_() { # compare setupTermuxArch and file being used
cd "$WFDIR" # change directory to working file directory
Expand Down
5 changes: 3 additions & 2 deletions setupTermuxArch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -Eeuo pipefail
shopt -s extglob nullglob globstar
unset LD_PRELOAD
VERSIONID=2.0.556
VERSIONID=2.0.557
_STRPEROR_() { # run on script error
local RV="$?"
printf "\\e[1;48;5;138m %s" "TermuxArch ${PGNM^^} NOTICE: Generated script signal received ${RV:-UNKNOWN} near or at line number ${1:-UNKNOWN} by '${2:-UNKNOWNCOMMAND}'! "
Expand Down Expand Up @@ -100,7 +100,8 @@ _PRINTSHA512SYSCHKER_
fi
}
_CHKDWN_() {
{ sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" && bsdtar -x -p -f setupTermuxArch.tar.gz ; } || _PRINTSHA512SYSCHKER_
sha512sum -c --quiet setupTermuxArch.sha512 && printf "\\e[0;34m%s\\e[1;34m%s\\e[1;32m%s\\n" " 🕛 > 🕐 " "TermuxArch download: " "OK" || _PRINTSHA512SYSCHKER_
TMPCMD="bsdtar -x -p -f setupTermuxArch.tar.gz" && $TMPCMD || printf "\\e[1;48;5;138m%s\\e[0m " "TermuxArch ${PGNM^^} SIGNAL $TMPCMD: CONTINUING..."
}
_CHKSELF_() { # compare setupTermuxArch and file being used
cd "$WFDIR" # change directory to working file directory
Expand Down
2 changes: 1 addition & 1 deletion setupTermuxArch.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
86badd188aea595272697fb4da2308c16dacad40e643442878b04cf27d778eb9c1efa448565fe04e7ade0b4831c97e2b6ae4aa781d255a7be70f3d29338e4ffa setupTermuxArch.tar.gz
c0e41f32ad61a7c84fc024125932085b3fc6beb5be863c54eddcc67ad457e4baacbd588757abd748b995e59076ba33667804a1f76a9db96fe6084a9c1a90ce0c setupTermuxArch.tar.gz
Binary file modified setupTermuxArch.tar.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions sha512.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
63c5bea747a5436a6d0f10ee6ac8f5da34868cec607e4821f5cfc1c444373690630cdfc26511ef89eaa63c95fdf8c8e57f068d73a852272c389269ac3969f7f1 ./.conf/VERSIONID
9a36777ac1ae494455412d3b70d49e0c10c83fa6dbccc1f0faafbbf3374c2d054694d09ad884c6db3ec7c9e292d67ec020bc863cd6ed1af05dc0194b1188bbfb ./.conf/VERSIONID
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml
cd90fd3ba3554fbae5c5cbe38142191c74a76a039288d37c10a6f247bdac47e84dfeb7f17055a9bf27cb19dd0d859cd5989307c037ab3847a98c916b4e811ef9 ./.github/workflows/label.yml
Expand All @@ -11,20 +11,20 @@ f2d9bb93b52e89f1dc7051f1cef5a640b3d115ffdc20a91dca0827ac9089f8ad6ec9f5484f27cba2
f926dc402b414c955b3ae593d3b0a9dc4a20657a8075749c3774d2cf7b30d60da3ff7ba0e06bde4ab75f72b4fc8840aa2357d6383d00cb31d636f3589fb49012 ./NOTICE.md
a5164c8a884b6924e270a12415c35741bdedb3c09d07eaaa0a098e1b1dcd25ea76d3cfb32b577f604fdc63eacac494ff6584c54ea544ca48e812d3c399f427af ./README.md
932ad5196101ce03668f70800511fe1812d06aedbae9ae3302caf35c8cc5280f620564b590230f4d779c52d82761a1ead79329daa0d6e099be8ddb3495bd5c1d ./SECURITY.md
8e644d6227c516df99a94ac2002088766e4b45a24c7ba31430d48b000ebb520ae4894e89f0ccc9acc78923477db90758dd6f798144785ef973ddaf7f538fa570 ./archlinuxconfig.bash
b6f3bc5d831d7de898d665ab0c3c97ae19cba1dad6276bbe6fccd8fa10fee1dba3d600e869b917bd29c6ecdb1cc72ca18421f0120254ca9d377a19f641f99928 ./archlinuxconfig.bash
ca1b3f26dc0d74401c48c754cfcbf7f57cc79827d8e6f6c5fe585d6cd00ece8770672f85f60371526c3dcecade7d6f0bf4d4d9744f316603501479a200daafbe ./espritfunctions.bash
53ef82880f9e8e2ebb16ff2cfaf18dae7d4c866046979f41716de40c2c619529fb5f0d86364a7ab4ec0a6ab839446104d3ba0cbfc92c68ede87a09d456e7e386 ./getimagefunctions.bash
b67fea23eb50e58f40e0e8183de2e1079ac98b1316478870b1cd6842fb80a758217e1bafbb1b5146af69795395078e07d3e79b0015fc24246be0d31700e3a396 ./knownconfigurations.bash
b4447309fc2a1ac9b8aedab94ee2bb3dae8dda6dd9a8f9c6df5786d907040731fc152018b8a15a56df4a98a97a312db4dc72c48b862b0ef10654ddf09e470ccf ./maintenanceroutines.bash
e262e693486af502d1cb81106ea745b9bc411f80b5726daaa0ae526f3e6e915f7f7780afbd45e3f769a174a3488e5acb5d4b1838a596b7f92ed1c84e5d4cdc5b ./necessaryfunctions.bash
ccf5dcfd8b987255edfc993ccf5e8f5d920d49ef18a6a35d391327621da44c8d61e11290570bd505f1ea9f18c6a78cdd8c1d914dc865625fcff5bb683c9aa33c ./printoutstatements.bash
b23f77d8e7e148bc281330d22a3dc1243e8eecefeab81bd9b1ad2a805f116eb5e5cf4a66d83f25ff53b716fa01522e898c130b8c8d01204de601090630eb1fe9 ./printoutstatements.bash
91f866372458ffb4399d0acbcdd8b24b161cd48d776020ea274b1ac6db46826519248d12574493a8b003af320df12d5c7baab331137d2e71d5deace6ca69146e ./pullTermuxArchMods.bash
6f8a50ec0f811b35515666ecf5131bc59391a32a4760dd9994c64b2209544532dac4160c61dc0a53622b6453d34e6061b810e7a64bdcc853cf795e10d21ba3b8 ./robots.txt
ed8c27cf7c7f37b665d49c86af88ff8480c94f21e2b36dedb19f09f84f3883f6846861910f85ca47de3b5c282b7e245383c725357718858318f68c1faac24975 ./setupTermuxArch
ed8c27cf7c7f37b665d49c86af88ff8480c94f21e2b36dedb19f09f84f3883f6846861910f85ca47de3b5c282b7e245383c725357718858318f68c1faac24975 ./setupTermuxArch.bash
ed8c27cf7c7f37b665d49c86af88ff8480c94f21e2b36dedb19f09f84f3883f6846861910f85ca47de3b5c282b7e245383c725357718858318f68c1faac24975 ./setupTermuxArch.sh
7d5ac913eb6c6fad1ad4148ff10e186093555d261564341a52a0c46d099f3d89c8cdf1e90146b625ead23dcb3bfbc4f5e9db884ad1fe953ff170dde0b7d4a569 ./setupTermuxArch.sha512
86badd188aea595272697fb4da2308c16dacad40e643442878b04cf27d778eb9c1efa448565fe04e7ade0b4831c97e2b6ae4aa781d255a7be70f3d29338e4ffa ./setupTermuxArch.tar.gz
096fc2c97ebb6927b910d61edf408c17fd6a8a1c2e97ff28752a0eef36bb81385b7d9a84884410a209eb3d1e08219f722547f610b97e5c800f3b9530f35b6a4e ./setupTermuxArch
096fc2c97ebb6927b910d61edf408c17fd6a8a1c2e97ff28752a0eef36bb81385b7d9a84884410a209eb3d1e08219f722547f610b97e5c800f3b9530f35b6a4e ./setupTermuxArch.bash
096fc2c97ebb6927b910d61edf408c17fd6a8a1c2e97ff28752a0eef36bb81385b7d9a84884410a209eb3d1e08219f722547f610b97e5c800f3b9530f35b6a4e ./setupTermuxArch.sh
f17966730bd1bad4781dde231ea5ab4c1348cf11075dd0055629b664c8a133adf0de227d28573f59d67419f4a2f533e05d9fb7236f47b1c9a32ba9ad798e1a57 ./setupTermuxArch.sha512
c0e41f32ad61a7c84fc024125932085b3fc6beb5be863c54eddcc67ad457e4baacbd588757abd748b995e59076ba33667804a1f76a9db96fe6084a9c1a90ce0c ./setupTermuxArch.tar.gz
9ae12dac3a7ad11cc929036d608e0113595925c48f6f9bf65af299bf01e1b0dbf9eedaa118c53bf957ae909c52e322bf7431b95ca0cc8517924321c678346dcb ./sitemap.txt
48bf62b56bc0801ade1c8181f862461d5e86c3c91a1c44b12826ac919accf9f5375d61c5e04bf426f3911ea58fb1728227d541835df90ed7791ff45b204063ba ./taprootuserland.bash
1e05ef321927919eef7c9495a12f3462b90656f4cb130eba77fc69d9103b515ea52954b908af093b0c732ee29ee10c05b84a0d1596b6aa1dae2e8b1bbca6d4d6 ./taqemualpinex86.bash
Expand Down

0 comments on commit d020067

Please sign in to comment.