Skip to content

Commit

Permalink
Commit on 20181008 branch master 11923247845729
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Oct 8, 2018
1 parent fb9e6df commit a72732c
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 15 deletions.
26 changes: 23 additions & 3 deletions espritfunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,30 @@ _BLOOM_() { # Bloom = `setupTermuxArch.sh manual verbose`
rmbloomq
fi
if [[ ! -d "$HOME"/TermuxArchBloom ]];then
mkdir "$HOME"/TermuxArchBloom
mkdir "$HOME/TermuxArchBloom"
fi
if [[ "$LCW" = 0 ]] # checks whether still set to 0,
then
echo "$TAMPDIR/*" "$HOME/TermuxArchBloom"
echo "$PWD/*.sh" "$HOME/TermuxArchBloom"
ls -al "$PWD/*.sh"
echo OPT
echo $OPT
echo pwd
pwd
# cp "$WDIR"/*.sh "$HOME"/TermuxArchBloom
# cp "$WDIR"/LICENSE* "$HOME"/TermuxArchBloom
# cp "$WDIR"/README* "$HOME"/TermuxArchBloom
cp *.sh "$HOME"/TermuxArchBloom
cp LICENSE* "$HOME"/TermuxArchBloom
cp README* "$HOME"/TermuxArchBloom
else
ls -al "$TAMPDIR"/*
# cp "$TAMPDIR"/* "$HOME"/TermuxArchBloom
cp "$TAMPDIR"/*.sh "$HOME"/TermuxArchBloom
cp "$TAMPDIR"/LICENSE* "$HOME"/TermuxArchBloom
cp "$TAMPDIR"/README* "$HOME"/TermuxArchBloom
fi
cp *sh "$HOME"/TermuxArchBloom
cd "$HOME"/TermuxArchBloom
printf "\\e[1;34mTermuxArch Bloom option via \\e[1;32msetupTermuxArch.sh bloom\\e[0m 📲\\n\\n\\e[0m"'\033]2; TermuxArch Bloom option via `setupTermuxArch.sh bloom` 📲 \007'
printf "\\n"
ls -agl
Expand Down
2 changes: 1 addition & 1 deletion printoutstatements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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=v1.6.4.id2054"
FLHDR1[5]="VERSIONID=v1.6.4.id1917"
FLHDR1[6]=" "
FLHDRP[0]="## BEGIN #######################################################################"
FLHDRP[1]=""
Expand Down
24 changes: 14 additions & 10 deletions setupTermuxArch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ IFS=$'\n\t'
set -Eeuo pipefail
shopt -s nullglob globstar
unset LD_PRELOAD
VERSIONID="v1.6.4.id2054"
VERSIONID="v1.6.4.id1917"

_SET_TRAP_ERROR_() { # Run on script error.
local RV="$?"
Expand Down Expand Up @@ -241,10 +241,6 @@ _DEPENDSBLOCK_() {
_CHKDWN_
_CHK_ "$@"
fi
if [[ "$OPT" = *bloom* ]]
then
rm -f termuxarchchecksum.sha512
fi
if [[ "$OPT" = *manual* ]]
then
_MANUAL_
Expand Down Expand Up @@ -304,6 +300,7 @@ _INTRO_INIT_() {

_INTRO_BLOOM_() { # Bloom = `setupTermuxArch.sh manual verbose`
OPT+=bloom
_PREPTERMUXARCH_ "$@"
printf "\033]2;%s\007" "bash ${0##*/} bloom 📲"
printf "\\n\\e[0;34m 🕛 > 🕛 \\e[1;34m$TA $VERSIONID bloom option. Run \\e[1;32mbash ${0##*/} help\\e[1;34m for additional information. Ensure background data is not restricted. Check the wireless connection if you do not see one o'clock 🕐 below. "
_DEPENDSBLOCK_ "$@"
Expand Down Expand Up @@ -471,11 +468,18 @@ _PECHK_() {
}

_PREPTMPDIR_() {
mkdir -p "$INSTALLDIR/tmp"
chmod 777 "$INSTALLDIR/tmp" ||:
chmod +t "$INSTALLDIR/tmp" ||:
TAMPDIR="$INSTALLDIR/tmp/setupTermuxArch$$"
mkdir -p "$TAMPDIR"
if [[ "$OPT" = *bloom* ]]
then
TAMPDIR="$TMPDIR/setupTermuxArch$$"
mkdir -p "$TAMPDIR"
ls -al "$TMPDIR/setupTermuxArch$$"
else
mkdir -p "$INSTALLDIR/tmp"
chmod 777 "$INSTALLDIR/tmp" ||:
chmod +t "$INSTALLDIR/tmp" ||:
TAMPDIR="$INSTALLDIR/tmp/setupTermuxArch$$"
mkdir -p "$TAMPDIR"
fi
}

_PREPTERMUXARCH_() {
Expand Down
2 changes: 1 addition & 1 deletion setupTermuxArch.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
626e6e5e8051554ee66826a9df958030a894d80a11598403053154b650b8ed588e8edffaa8c1d7a81fe13fa38bd1cbde3da94767a20fd12a6502dc7fce4f0bf8 setupTermuxArch.tar.gz
063ec68cc7d6ff01193e16129ec1d58210cd6d2f2bbccae54bfe6919b44957abf481e21b87027e40a73753d1f833d7a8bf00ed6a633b37c87c999bcd0b3eb6ce setupTermuxArch.tar.gz
Binary file modified setupTermuxArch.tar.gz
Binary file not shown.

0 comments on commit a72732c

Please sign in to comment.