Move utilities.sh to utility.sh, drop some logging
This commit is contained in:
parent
202a0a8b0a
commit
87e1687831
3 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
src/tori
2
src/tori
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue