Add support for different OS package managers; simplify some logic

This commit is contained in:
2025-01-25 18:41:52 -06:00
parent bfae90f83a
commit aa64550b72
15 changed files with 42 additions and 42 deletions

View File

@ -17,9 +17,7 @@ while [[ $# > 0 ]]; do
shift
done
local script_dir=$(cd $(dirname "${ZSH_SOURCE[0]}") &> /dev/null && pwd)
log "install_programs // script_dir: $script_dir -- args: $single_script_filter"
cd $script_dir
log "install_programs // single_script_filter: $single_script_filter"
local scripts=(`find ./installs_and_builds -maxdepth 1 -mindepth 1 -type f`)
for script in $scripts; do
if [[ -x $script ]]; then