Add auto-detection of OS and distro to scripts
This commit is contained in:
@@ -40,7 +40,7 @@ copy_file src_files/.config/zsh/.zshenv $HOME # duplicate, copy anyway, ensures
|
||||
|
||||
copy_dir src_files/.config $XDG_CONFIG_HOME
|
||||
copy_dir src_files/.local/bin $DIR_BIN
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && copy_dir src_files/bin_overrides_macos $DIR_BIN
|
||||
[[ "$OSTYPE" = *"darwin"* ]] && copy_dir src_files/bin_overrides_macos $DIR_BIN
|
||||
copy_dir src_files/.local/scripts $DIR_SCRIPTS
|
||||
|
||||
for obs_dir in "${OBSIDIAN_WORKSPACES_TO_CONFIGURE[@]}"; do
|
||||
@@ -49,7 +49,7 @@ for obs_dir in "${OBSIDIAN_WORKSPACES_TO_CONFIGURE[@]}"; do
|
||||
done
|
||||
|
||||
# [[ $1 = "studio-music" ]] {
|
||||
# [[ "$BOX_SETUP_OS" = "macos" ]] &&
|
||||
# [[ "$OSTYPE" = *"darwin"* ]] &&
|
||||
# link_dir "$XDG_CONFIG_HOME/REAPER" "$HOME/Library/Application Support/REAPER" # TODO: get reaper config set up
|
||||
# }
|
||||
|
||||
|
Reference in New Issue
Block a user