Skip to content

Commit

Permalink
Code & Features Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaneltitane committed Sep 10, 2023
1 parent 2d89e22 commit 58fd220
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 66 deletions.
84 changes: 20 additions & 64 deletions example-colors
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ frobulator.progress () {
download
)

magenta_list=(
purple_list=(
upload
)

blue_list=(
install
)

blue_list=(
navy_list=(
reinstall
)

Expand Down Expand Up @@ -545,65 +545,21 @@ frobulator.aqua "aqua"
frobulator.teal "teal"
echo

if [ -z "${utility}" ]
then
utility="all"
fi



utility_intent () {

# load dextop utilities

utilities_list+=(
termux-packages
termux-repositories
termux-update
termux-storage
termux-additions
container-expansion
container-image
container-packages
container-repositories
container-session
container-settings
container-user
)

if [[ ${utilities_list[@]} =~ "${utility}" ]]
then
frobulator.download get.dxtp.app "${HOME}"/.local/bin "${utility}"

elif [[ "${utility}" = "all" ]]
then
frobulator.download get.dxtp.app "${HOME}"/.local/bin ${utilities_list[@]}

else
frobulator.err "Unknown utility name" "[ ${utility} ]"
echo

frobulator.msg "Known upgradable utilities" "[ version // ${version} ]"
echo

IFS=$'\n'

printf "[ > ] %s\n" ${utilities_list[@]}

echo

IFS=''

frobulator.msg "Option: update all utilities using 'all' argument."
echo

frobulator.inf "Review utility name spelling and try again."
echo

exit 1
fi

utilities_list=()
}

utility_intent
# load dextop utilities

utilities_list+=(
termux-packages
termux-repositories
termux-update
termux-storage
termux-additions
container-expansion
container-image
container-packages
container-repositories
container-session
container-settings
container-user
)

frobulator.download get.dxtp.app "${HOME}"/.local/bin ${utilities_list[@]}
4 changes: 2 additions & 2 deletions frobulator
Original file line number Diff line number Diff line change
Expand Up @@ -1537,15 +1537,15 @@ frobulator.progress () {
download
)

magenta_list=(
purple_list=(
upload
)

blue_list=(
install
)

blue_list=(
navy_list=(
reinstall
)

Expand Down

0 comments on commit 58fd220

Please sign in to comment.