You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: initkeyfunctions.bash
+4-29Lines changed: 4 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,6 @@ _ADDcolorizebashrc_
27
27
_ADDes_
28
28
_ADDexd_
29
29
_ADDfibs_
30
-
_ADDfbinds_
31
30
_ADDga_
32
31
_ADDgcl_
33
32
_ADDgclone_
@@ -40,6 +39,7 @@ _ADDgmu_
40
39
_ADDhunf_
41
40
_ADDhunw_
42
41
_ADDinfo_
42
+
_ADDinitfbinds_
43
43
_ADDinitrc_
44
44
_ADDinputrc_
45
45
_ADDkeys_
@@ -141,7 +141,7 @@ _HUSDIRC_() {
141
141
if [ "\$UID" != 0 ]
142
142
then
143
143
WHOAMI="\$(whoami)"
144
-
printf "\\\\e[1;31mUSAGE:\\\\e[1;37m %s\\\\e[1;32m: Exiting...\\\\e[0m\\\\n" "Script '\${0##*/}' should be run using the root account, not the '\$WHOAMI' account. Alternatively '\${0##*/}' can be used with the 'sudo' command; 'sudo \${0##*/} user'."
144
+
printf "\\\\e[1;31mUSAGE:\\\\e[1;37m %s\\\\e[1;31m: Exiting...\\\\e[0m\\\\n" "Script '\${0##*/}' should be run using the root account, not the '\$WHOAMI' account. Alternatively '\${0##*/}' can be used with the 'sudo' command, 'sudo \${0##*/} user'"
Copy file name to clipboardExpand all lines: knownconfigurations.bash
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@
13
13
## DMVERBOSE="-v" ## uncomment for verbose download tool output with curl and wget; For verbose output throughout runtime change this setting in file 'setupTermuxArch' also.
14
14
ECHOEXEC=""## insert 'echo' to suppress most 'pacman' instructions from 'keys' file during runtime
15
15
ECHOSYNC=""## insert 'echo' to only suppress 'pacman' syncing instructions from 'keys' file during runtime
16
-
KEEP=0 ## change to 0 to keep downloaded image; Testing the installation process repeatedly can be made easier and lighter on your Internet bandwidth and SAR with 'KEEP=0' and this fragment of code 'mkdir ~/arch; cp ~/ArchLinux*.tar.gz* ~/arch/' and similar. The variable KEEP when changed to 0 (true) will keep the downloaded image and md5 files instead of deleting them for later reuse. The root file system image and md5 files can be saved and used again on subsequent installs.
17
-
USECACHEDIR=0 ## change to 0 to use cache directory; When changed to 0 this installation script uses a cache directory defined in `necessaryfunctions.bash` that can be used to cache all of the installation files in order to save wireless bandwidth upon subsequent reinstallation. Variable `KEEP=1` should be changed to 0 also in order to keep the downloaded image file and md5 files. The downloaded image and md5 files should be moved to CACHEDIR along with files in INSTALLDIR/var/cache/pacman/pkg in order to avoid subsequent redownloading of these files for reinstalling the entire system.
16
+
KEEP=0 ## change to 1 to delete downloaded image; Testing the installation process repeatedly can be made easier and lighter on your Internet bandwidth and SAR with 'KEEP=0' and this fragment of code 'mkdir ~/arch; cp ~/ArchLinux*.tar.gz* ~/arch/' and similar. The variable KEEP when set to 0 (true) will keep the downloaded image and md5 files instead of deleting them for possible reuse. The root file system image and md5 files can be saved and used again with subsequent installations.
17
+
USECACHEDIR=0 ## set to 0 in order to use cache directory; This installation script uses a cache directory that can be used to cache all of the installation files in order to save wireless bandwidth upon subsequent reinstallation. Variable `KEEP=0` should also be set to 0 in order to keep the downloaded image file and md5 files. The downloaded image and md5 files can be moved to CACHEDIR from INSTALLDIR/var/cache/pacman/pkg with the command 'trim' in order to avoid redownloading files in order to reinstall the Arch Linux system in Termux PRoot QEMU.
18
18
CACHLCTN="/storage/emulated/0"## change to external sdcard path if desired.
printf"\\n\\e[0;34m 🕛 > 🕕 \\e[1;34mNot removing files after checking download integrity with md5sum. \\e[37;1mPlease run '%s' again to continue a partial download. Otherwise remove '%s' and restart the installation from scratch if the download is complete, but this error continues. You can also reset KEEP=1 to disable the keep download image feature which is disabled by default as after downloading the root image file it should no longer be needed by the end user. The command 'bash %s help' has more information. \\e[1;33m""${0##*/}""$INSTALLDIR""${0##*/}"
182
+
printf"\\n\\e[0;34m 🕛 > 🕕 \\e[1;34mNot removing files after FAILED check of download integrity files with md5sum. \\e[37;1m%s \\e[1;33m""Please run '${0##*/}' again to continue a partial download. Otherwise remove '$INSTALLDIR' and restart the installation from scratch if the download is complete and FAILED checking download integrity checksum error continues. You can set KEEP=1 in file 'setupTermuxArchConfigs.bash' by running '${0##*/} manual' to disable the keep download image file feature that is disabled by default as after downloading the root image file as it might no longer be needed by the end user execept for reinstalling the Arch Linux system and similar. The command 'bash ${0##*/} help' and the source code for TermuxArch have more information."
Copy file name to clipboardExpand all lines: setupTermuxArch
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
set -Eeuo pipefail
7
7
shopt -s extglob nullglob globstar
8
8
unset LD_PRELOAD
9
-
VERSIONID=2.0.555
9
+
VERSIONID=2.0.556
10
10
_STRPEROR_() { # run on script error
11
11
local RV="$?"
12
12
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}'! "
chmod -R 777 "$INSTALLDIR"|| { printf"\\e[1;31m%s\\e[1;35m%s\\e[1;31m%s""Exit signal recieved:"" Attempting to 'rmdir ${EXONSTGEM##*/}' exception. Please either remove directory '$EXONSTGEM' manually or use command 'chmod -R 777 ~/${INSTALLDIR##*/}' followed by 'rm -rf ~/${INSTALLDIR##*/}' in order to remove directory '~/${INSTALLDIR##*/}'. ""Exiting..."&&exit 206 ; }
{ find "$EXONSTGEM" -type l -delete && rmdir "$EXONSTGEM"; } || { printf"\\e[1;31m%s\\e[1;35m%s\\n""Exit signal recieved:""attempting to 'rmdir $EXONSTGEM' exception; Please remove directory $EXONSTGEM manually; Exiting..."&&exit 206 ; }
748
+
{ find "$EXONSTGEM" -type l -delete && rmdir "$EXONSTGEM"; } || { printf"\\e[1;31m%s\\e[1;35m%s\\e[1;31m%s""Exit signal recieved:"" Attempting to 'rmdir ${EXONSTGEM##*/}' exception. Please either remove directory '$EXONSTGEM' manually or use command 'chmod -R 777 ~/${INSTALLDIR##*/}' followed by 'rm -rf ~/${INSTALLDIR##*/}' in order to remove directory '~/${INSTALLDIR##*/}'. ""Exiting..."&&exit 206 ; }
749
749
done
750
750
printf"\\e[1;30m"
751
751
}
@@ -842,7 +842,7 @@ WFDIR="${WFDIR%/*}"
842
842
## >>>>>>>>>>>>>>>>>>
843
843
## >> HELP OPTIONS >>
844
844
## >>>>>>>>>>>>>>>>>>
845
-
## Please open an issue and an accompanying pull request at GitHub if you would like to have any these options amended and/or new options added. Please see the new feature at Github, the discussion option!
845
+
## Open an issue and an accompanying pull request at GitHub if you would like to have any these options amended and/or new options added. Please see the new feature at Github, the discussion option. Brackets mean optional. They are not meant to be typed.
846
846
## [] Run default Arch Linux install.
847
847
if [[ -z"${1:-}" ]]
848
848
then
@@ -1160,6 +1160,6 @@ fi
1160
1160
## USAGE[1]: 'setupTermuxArch curl sysinfo' will use curl as the download manager and produce a system information file in the working directory. This can be abbreviated to 'setupTermuxArch cs' and 'setupTermuxArch c s'.
1161
1161
## USAGE[2]: 'setupTermuxArch curl manual customdir' will install the installation in customdir with curl and use manual mode during installation.
1162
1162
## USAGE[3]: 'setupTermuxArch curl refresh customdir' will refresh the installation using curl as the download manager.
1163
-
## Should any of these options fail to work as expected, please open an issue at GitHub with the command line used and output.
1163
+
## Should any of these options fail to work as expected, please open an issue at GitHub with the command line used and output. This product is being designed for both the sighted, and also the visually impaired; Comments are welcome at discussions and issues webportals.
1164
1164
## After installing TermuxArch on device, file 'INSTALLDIR/usr/local/termuxarch/bin/README.md' has more information. The TermuxArch files in directory 'INSTALLDIR/usr/local/termuxarch/bin' have more information.
1165
1165
## Very many hardy thank yous to contributors who are helping and have worked very hard for many long years, some for more, and to those who took mere minutes from their valuable effort with time in order to make this open source resource much better for all of us! Please enjoy using TermuxArch in PRoot QEMU in Android, Chromebook, Amazon Fire OS and Windows on smartphone, tablet, wearable and similar: setupTermuxArch FE
Copy file name to clipboardExpand all lines: setupTermuxArch.bash
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
set -Eeuo pipefail
7
7
shopt -s extglob nullglob globstar
8
8
unset LD_PRELOAD
9
-
VERSIONID=2.0.555
9
+
VERSIONID=2.0.556
10
10
_STRPEROR_() { # run on script error
11
11
local RV="$?"
12
12
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}'! "
chmod -R 777 "$INSTALLDIR"|| { printf"\\e[1;31m%s\\e[1;35m%s\\e[1;31m%s""Exit signal recieved:"" Attempting to 'rmdir ${EXONSTGEM##*/}' exception. Please either remove directory '$EXONSTGEM' manually or use command 'chmod -R 777 ~/${INSTALLDIR##*/}' followed by 'rm -rf ~/${INSTALLDIR##*/}' in order to remove directory '~/${INSTALLDIR##*/}'. ""Exiting..."&&exit 206 ; }
{ find "$EXONSTGEM" -type l -delete && rmdir "$EXONSTGEM"; } || { printf"\\e[1;31m%s\\e[1;35m%s\\n""Exit signal recieved:""attempting to 'rmdir $EXONSTGEM' exception; Please remove directory $EXONSTGEM manually; Exiting..."&&exit 206 ; }
748
+
{ find "$EXONSTGEM" -type l -delete && rmdir "$EXONSTGEM"; } || { printf"\\e[1;31m%s\\e[1;35m%s\\e[1;31m%s""Exit signal recieved:"" Attempting to 'rmdir ${EXONSTGEM##*/}' exception. Please either remove directory '$EXONSTGEM' manually or use command 'chmod -R 777 ~/${INSTALLDIR##*/}' followed by 'rm -rf ~/${INSTALLDIR##*/}' in order to remove directory '~/${INSTALLDIR##*/}'. ""Exiting..."&&exit 206 ; }
749
749
done
750
750
printf"\\e[1;30m"
751
751
}
@@ -842,7 +842,7 @@ WFDIR="${WFDIR%/*}"
842
842
## >>>>>>>>>>>>>>>>>>
843
843
## >> HELP OPTIONS >>
844
844
## >>>>>>>>>>>>>>>>>>
845
-
## Please open an issue and an accompanying pull request at GitHub if you would like to have any these options amended and/or new options added. Please see the new feature at Github, the discussion option!
845
+
## Open an issue and an accompanying pull request at GitHub if you would like to have any these options amended and/or new options added. Please see the new feature at Github, the discussion option. Brackets mean optional. They are not meant to be typed.
846
846
## [] Run default Arch Linux install.
847
847
if [[ -z"${1:-}" ]]
848
848
then
@@ -1160,6 +1160,6 @@ fi
1160
1160
## USAGE[1]: 'setupTermuxArch curl sysinfo' will use curl as the download manager and produce a system information file in the working directory. This can be abbreviated to 'setupTermuxArch cs' and 'setupTermuxArch c s'.
1161
1161
## USAGE[2]: 'setupTermuxArch curl manual customdir' will install the installation in customdir with curl and use manual mode during installation.
1162
1162
## USAGE[3]: 'setupTermuxArch curl refresh customdir' will refresh the installation using curl as the download manager.
1163
-
## Should any of these options fail to work as expected, please open an issue at GitHub with the command line used and output.
1163
+
## Should any of these options fail to work as expected, please open an issue at GitHub with the command line used and output. This product is being designed for both the sighted, and also the visually impaired; Comments are welcome at discussions and issues webportals.
1164
1164
## After installing TermuxArch on device, file 'INSTALLDIR/usr/local/termuxarch/bin/README.md' has more information. The TermuxArch files in directory 'INSTALLDIR/usr/local/termuxarch/bin' have more information.
1165
1165
## Very many hardy thank yous to contributors who are helping and have worked very hard for many long years, some for more, and to those who took mere minutes from their valuable effort with time in order to make this open source resource much better for all of us! Please enjoy using TermuxArch in PRoot QEMU in Android, Chromebook, Amazon Fire OS and Windows on smartphone, tablet, wearable and similar: setupTermuxArch FE
0 commit comments