Skip to content

Instantly share code, notes, and snippets.

View SDRausty's full-sized avatar
🇺🇸
status; busy at BuildAPKs TermuxArch WAE serviceanimals shlibs

S D Rausty SDRausty

🇺🇸
status; busy at BuildAPKs TermuxArch WAE serviceanimals shlibs
View GitHub Profile
#!/bin/env bash
# Copyright 2017-2019 (c) all rights reserved by S D Rausty
#####################################################################
set -Eeuo pipefail
shopt -s nullglob globstar
_SUPTRPERROR_() { # Run on script error.
local RV="$?"
printf "\\e[?25h\\e[1;7;38;5;0mbuildAPKs setupBuildAPKs.sh ERROR: Signal %s received!\\e[0m\\n" "$RV"
printf "\\e[?25h\\e[0m\\n"
#!/bin/env bash
# Copyright 2017-2018 by SDRausty. All rights reserved. 🌎 🌍 🌏 🌐 🗺
# Hosted sdrausty.github.io/TermuxArch courtesy https://pages.github.com
# https://sdrausty.github.io/TermuxArch/README has info about this project.
# https://sdrausty.github.io/TermuxArch/CONTRIBUTORS Thank you for your help.
# _STANDARD_="function name" && STANDARD="variable name" are under construction.
################################################################################
IFS=$'\n\t'
set -Eeuo pipefail
shopt -s nullglob globstar
#!/bin/env sh
# Copyright 2017-2019 (c) all rights reserved by SDRausty.
# https://sdrausty.github.io/au Contributors: frumpylava/Glow, Hax4us
# $ dpkg --purge name.pkg; dpkg --install name.pkg ## downgrades packages.
# External microSD card destination is preferred to save space on devices.
################################################################################
mkdir -p "/storage/emulated/0/tdebs"
apt update # updates packages list
apt -o APT::Keep-Downloaded-Packages="true" upgrade -y # upgrades
apt -o APT::Keep-Downloaded-Packages="true" install $@ -y # installs