From a716e08ee4b2c7190d6f5f97bb68f1f958e609d6 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 5 Dec 2023 06:16:18 +0000 Subject: [PATCH] Latest --- scripts/provision.sh | 4 +++- scripts/src/provision.sh.tmpl | 4 +++- software.yml | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/provision.sh b/scripts/provision.sh index 0b51d68a..4a480663 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -454,7 +454,9 @@ ensureHomebrewDeps() { # @description Ensure the `${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi` directory is cloned and up-to-date using the previously # set `START_REPO` as the source repository. cloneChezmoiSourceRepo() { - logg info 'Setting git http.postBuffer value high for large source repository' && git config --global http.postBuffer 524288000 + if ! git config --get --global http.postBuffer > /dev/null; then + logg info 'Setting git http.postBuffer value high for large source repository' && git config --global http.postBuffer 524288000 + fi if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then logg info "Changing directory to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" && cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" logg info "Pulling the latest changes in ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" && git pull origin master diff --git a/scripts/src/provision.sh.tmpl b/scripts/src/provision.sh.tmpl index dc112568..7457bcd1 100644 --- a/scripts/src/provision.sh.tmpl +++ b/scripts/src/provision.sh.tmpl @@ -264,7 +264,9 @@ ensureHomebrewDeps() { # @description Ensure the `${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi` directory is cloned and up-to-date using the previously # set `START_REPO` as the source repository. cloneChezmoiSourceRepo() { - logg info 'Setting git http.postBuffer value high for large source repository' && git config --global http.postBuffer 524288000 + if ! git config --get --global http.postBuffer > /dev/null; then + logg info 'Setting git http.postBuffer value high for large source repository' && git config --global http.postBuffer 524288000 + fi if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/.git" ]; then logg info "Changing directory to ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" && cd "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" logg info "Pulling the latest changes in ${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi" && git pull origin master diff --git a/software.yml b/software.yml index c1c6fc33..e3d51dbb 100644 --- a/software.yml +++ b/software.yml @@ -6176,7 +6176,6 @@ softwarePackages: _docs: null _github: https://github.com/th-ch/youtube-music _home: https://th-ch.github.io/youtube-music/ - _app: YouTube Music.app _todo: Might have to add _post cask xattr -cr /Applications/YouTube\ Music.app to fix permissions _app: YouTube Music.app appimage: th-ch/youtube-music