My library for bash scripts / progams
CLI
bash -c "$(curl -sL https://bit.ly/lib_bash)"
In script
# install lib_bash
DIR_LIB_BASH="${HOME}/.local/lib/lib_bash"
[ ! -d "${DIR_LIB_BASH}" ] && \
bash -c "$(curl -sL https://bit.ly/lib_bash)"
# source .config
[ ! "${LIBBASH_SOURCED}" ] && . "${DIR_LIB_BASH}/.config"
# test if work, in this case update lib_bash
cli::update
1. each function must be commented like this template
2. each part of the lib have is own include file AND can be included multiple times
3. for more details on each function of the lib, test dir is here to help you
- rewrite how parsing work
- should use getopt in a while loop
- rewrite how print work
- from now this is just printing char one by one, the goal is to have a buffer
- install twrp
- install system
- boot, and do install "Welcome" page
- reboot to twrp
- install magisk
- install nethunter
- build nethunter package for android 13 lineage