Add support for different OS package managers; simplify some logic

This commit is contained in:
david
2025-04-04 16:55:39 -05:00
parent 0ee149f9d8
commit fc189d33d3
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