Add support for different OS package managers; simplify some logic
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user