Skip to content

Commit

Permalink
commit 20220715.89a5363d
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Jul 15, 2022
1 parent cc95307 commit b5e460b
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.548
2.0.549
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.547"
FLHDR1[5]="VERSIONID=2.0.548"
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.547
VERSIONID=2.0.548
_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.547
VERSIONID=2.0.548
_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.547
VERSIONID=2.0.548
_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 @@
415ba7c3a7fbc28160a104d3736c5480e9a3ce43f172928f33ce957c2f6c0e7e9963f2d997bfe3b3f33dff5f7fc0d455ad828ae77915131d8f1452bf65f9297d setupTermuxArch.tar.gz
033731f69dea719816bbf73088a5615f4cbc8c26b011ac10a6d0abc03726014c7ab19fdf28f6706bfeb54f95847638388ef0a487cb2809477dc30da90f1e40a2 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 @@
d8ec80992b7be99b10a69bb28f112afac1c7fbf6f9f1633959e2e9472b55dfd052503f18e14b34dd0363d158106e70dcaf2fc45b25e789ba91c9c907a9b20497 ./.conf/VERSIONID
e67be29efdd034781f6ef5bc4114f56023ea7c927b94a22fa99595319c172268bdc545f7c2646e7d71c66b6736b90b244732f4f494c83fbacdf0f42a034569e4 ./.conf/VERSIONID
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
c5b8dd6c602b3acea11ff4b6bd541cc77ebd44fa359ffd40f78785a16949a3a0f435c763c2dbc05327c071326e19c9951940e85ebd832ec1fad4feeb9dc97dac ./.github/workflows/greetings.yml
cd90fd3ba3554fbae5c5cbe38142191c74a76a039288d37c10a6f247bdac47e84dfeb7f17055a9bf27cb19dd0d859cd5989307c037ab3847a98c916b4e811ef9 ./.github/workflows/label.yml
Expand All @@ -12,20 +12,20 @@ f2d9bb93b52e89f1dc7051f1cef5a640b3d115ffdc20a91dca0827ac9089f8ad6ec9f5484f27cba2
1fbd5bbe1d7a8fad9bcbfe3410fab3ebbd1e79bc728b301eeb78b956357d3d0cd5829e500879e5621eb531147f2c2fc0e4f76f313dd515892bec6010bd3a2a00 ./LICENSE
f926dc402b414c955b3ae593d3b0a9dc4a20657a8075749c3774d2cf7b30d60da3ff7ba0e06bde4ab75f72b4fc8840aa2357d6383d00cb31d636f3589fb49012 ./NOTICE.md
e21012fb1f59efa4b3e6e8d3a953a5304e5b8eac0deb3631b068b463d8bee1d616bf9f2c706b2b78444e2bfdf6ee24b7dea8f890be36a216df20f95f2bada174 ./README.md
8e644d6227c516df99a94ac2002088766e4b45a24c7ba31430d48b000ebb520ae4894e89f0ccc9acc78923477db90758dd6f798144785ef973ddaf7f538fa570 ./archlinuxconfig.bash
b6f3bc5d831d7de898d665ab0c3c97ae19cba1dad6276bbe6fccd8fa10fee1dba3d600e869b917bd29c6ecdb1cc72ca18421f0120254ca9d377a19f641f99928 ./archlinuxconfig.bash
ca1b3f26dc0d74401c48c754cfcbf7f57cc79827d8e6f6c5fe585d6cd00ece8770672f85f60371526c3dcecade7d6f0bf4d4d9744f316603501479a200daafbe ./espritfunctions.bash
53ef82880f9e8e2ebb16ff2cfaf18dae7d4c866046979f41716de40c2c619529fb5f0d86364a7ab4ec0a6ab839446104d3ba0cbfc92c68ede87a09d456e7e386 ./getimagefunctions.bash
b67fea23eb50e58f40e0e8183de2e1079ac98b1316478870b1cd6842fb80a758217e1bafbb1b5146af69795395078e07d3e79b0015fc24246be0d31700e3a396 ./knownconfigurations.bash
b4447309fc2a1ac9b8aedab94ee2bb3dae8dda6dd9a8f9c6df5786d907040731fc152018b8a15a56df4a98a97a312db4dc72c48b862b0ef10654ddf09e470ccf ./maintenanceroutines.bash
e262e693486af502d1cb81106ea745b9bc411f80b5726daaa0ae526f3e6e915f7f7780afbd45e3f769a174a3488e5acb5d4b1838a596b7f92ed1c84e5d4cdc5b ./necessaryfunctions.bash
906c7c4763ad5ffb9794632cb41c99efdaa5cdc8c125002a72ed096345ec2d42874bf13467979dac2b0856d0d70056bfd92453514a868b4c407b5890ecee555a ./printoutstatements.bash
5367a15b51fe4909ed5365c890f46992b9e42befc7f273ef47ff069cdc8e512f257fe61a200dd8e5ae7cfb3ccfb6bcbff3e092979c2272a60e5cd9730146a0be ./printoutstatements.bash
91f866372458ffb4399d0acbcdd8b24b161cd48d776020ea274b1ac6db46826519248d12574493a8b003af320df12d5c7baab331137d2e71d5deace6ca69146e ./pullTermuxArchMods.bash
6f8a50ec0f811b35515666ecf5131bc59391a32a4760dd9994c64b2209544532dac4160c61dc0a53622b6453d34e6061b810e7a64bdcc853cf795e10d21ba3b8 ./robots.txt
20fbf8d8ad5850af0f53bb8c943fce8625977fde831bd2f29a208fdcc36d5865ecc2476f7654f9211d394cc44bad8cf0ccfa0915accf1d93d62cfa4e318955e3 ./setupTermuxArch
20fbf8d8ad5850af0f53bb8c943fce8625977fde831bd2f29a208fdcc36d5865ecc2476f7654f9211d394cc44bad8cf0ccfa0915accf1d93d62cfa4e318955e3 ./setupTermuxArch.bash
20fbf8d8ad5850af0f53bb8c943fce8625977fde831bd2f29a208fdcc36d5865ecc2476f7654f9211d394cc44bad8cf0ccfa0915accf1d93d62cfa4e318955e3 ./setupTermuxArch.sh
049b473673db77612efd94e9ea30f4a8295289c734449162adeec8001e6fb21646be6f70cc09216f969ce0c6a8fdf13dc68985c2e425947a6c58054a5de2523d ./setupTermuxArch.sha512
415ba7c3a7fbc28160a104d3736c5480e9a3ce43f172928f33ce957c2f6c0e7e9963f2d997bfe3b3f33dff5f7fc0d455ad828ae77915131d8f1452bf65f9297d ./setupTermuxArch.tar.gz
efaab643329dc559d46a4f6b1f806e565871ee98a3a41e1a6371430ec1159b616a6586bcb7cab741269787a8cbf322b05a323f6dcd0c1af61b179091b0013cb6 ./setupTermuxArch
efaab643329dc559d46a4f6b1f806e565871ee98a3a41e1a6371430ec1159b616a6586bcb7cab741269787a8cbf322b05a323f6dcd0c1af61b179091b0013cb6 ./setupTermuxArch.bash
efaab643329dc559d46a4f6b1f806e565871ee98a3a41e1a6371430ec1159b616a6586bcb7cab741269787a8cbf322b05a323f6dcd0c1af61b179091b0013cb6 ./setupTermuxArch.sh
23bcbd684a6cde0ba85fb6e70bdf25401cb93463a37bb1f967b6912940c38287b57e254a728f9098b017e72ed5910468b5ee3558f3e7471ca7c6e0f102065b96 ./setupTermuxArch.sha512
033731f69dea719816bbf73088a5615f4cbc8c26b011ac10a6d0abc03726014c7ab19fdf28f6706bfeb54f95847638388ef0a487cb2809477dc30da90f1e40a2 ./setupTermuxArch.tar.gz
9ae12dac3a7ad11cc929036d608e0113595925c48f6f9bf65af299bf01e1b0dbf9eedaa118c53bf957ae909c52e322bf7431b95ca0cc8517924321c678346dcb ./sitemap.txt
48bf62b56bc0801ade1c8181f862461d5e86c3c91a1c44b12826ac919accf9f5375d61c5e04bf426f3911ea58fb1728227d541835df90ed7791ff45b204063ba ./taprootuserland.bash
48bf62b56bc0801ade1c8181f862461d5e86c3c91a1c44b12826ac919accf9f5375d61c5e04bf426f3911ea58fb1728227d541835df90ed7791ff45b204063ba ./taqemualpinex86.bash
Expand Down

0 comments on commit b5e460b

Please sign in to comment.