Make a few minor clean-up changes

This commit is contained in:
2025-11-21 01:59:33 -06:00
parent d796c73bad
commit 79f53976da
3 changed files with 10 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/zsh
apply_overrides() {
name="$1"
kind="$2"
echo $3 |
sed -E 's/; */\n/g' |
while IFS=$'\n ' read -r override_key override_values; do
@@ -50,10 +52,7 @@ sed 1d "installs_and_builds/programs.csv" |
[[ $name = 'zz_skip' || $kind = 'zz_skip' ]] && continue
echo "-- installing $name"
[[ $kind = 'package_manager' ]] && {
${=BOX_SETUP_INSTALL_COMMAND} ${=name}
}|| {
[[ $kind = 'build_custom' ]] && build_custom $name
}
[[ $kind = 'package_manager' ]] && ${=BOX_SETUP_INSTALL_COMMAND} ${=name}
[[ $kind = 'build_custom' ]] && build_custom $name
done