Move utilities.sh to utility.sh, drop some logging

This commit is contained in:
Juno Takano 2024-06-30 19:05:55 -03:00
parent 202a0a8b0a
commit 87e1687831
3 changed files with 1 additions and 3 deletions

View file

@ -17,14 +17,12 @@ package_manager() {
if [ "$command" = 'get_manually_installed' ]; then if [ "$command" = 'get_manually_installed' ]; then
output=$(eval $manager $args__get_manually_installed) output=$(eval $manager $args__get_manually_installed)
log debug "package.package_manager returning: $output"
printf "$output" printf "$output"
fi fi
} }
get_system_packages() { get_system_packages() {
local packages=$(package_manager get_manually_installed) local packages=$(package_manager get_manually_installed)
log debug "package.get_system_packages returning: $packages"
printf "$packages" printf "$packages"
} }

View file

@ -6,7 +6,7 @@ CONFIG_ROOT="$HOME/.config/tori"
TMP_DIR="/tmp/tori" TMP_DIR="/tmp/tori"
. "$TORI_ROOT/src/package.sh" . "$TORI_ROOT/src/package.sh"
. "$TORI_ROOT/src/utilities.sh" . "$TORI_ROOT/src/utility.sh"
. "$TORI_ROOT/src/configuration.sh" . "$TORI_ROOT/src/configuration.sh"
# state # state