From 5501128b7887dfaff9e2e07bad09ab265d57a114 Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Sun, 13 Aug 2017 13:30:01 +0200 Subject: [PATCH] Bump version in spec to 2.6.3, update Homebrew Formula --- bash-git-prompt.rb | 10 +++++----- bash-git-prompt.spec | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bash-git-prompt.rb b/bash-git-prompt.rb index a533520..8da56ac 100644 --- a/bash-git-prompt.rb +++ b/bash-git-prompt.rb @@ -1,8 +1,8 @@ class BashGitPrompt < Formula desc "Informative, fancy bash prompt for Git users" homepage "https://github.com/magicmonty/bash-git-prompt" - url "https://github.com/magicmonty/bash-git-prompt/archive/2.6.1.tar.gz" - sha256 "d2e58eaaae521cbcf3758a38cbc9233ea2e24a47dd907e64cdb514f30bd7b9ed" + url "https://github.com/magicmonty/bash-git-prompt/archive/2.6.3.tar.gz" + sha256 "c941b6b34a01ef2e30c8a54bbd908a5ebd8d3e20694dc1a7e84ccbec57258421" head "https://github.com/magicmonty/bash-git-prompt.git" bottle :unneeded @@ -18,9 +18,9 @@ class BashGitPrompt < Formula def caveats; <<-EOS.undent You should add the following to your .bashrc (or equivalent): - if [ -f #{HOMEBREW_PREFIX}/share/gitprompt.sh ]; then - GIT_PROMPT_THEME=Default - . #{HOMEBREW_PREFIX}/share/gitprompt.sh + if [ -f "#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share/gitprompt.sh" ]; then + __GIT_PROMPT_DIR="#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share" + source "#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share/gitprompt.sh" fi EOS end diff --git a/bash-git-prompt.spec b/bash-git-prompt.spec index 597c0d7..63a7208 100644 --- a/bash-git-prompt.spec +++ b/bash-git-prompt.spec @@ -2,7 +2,7 @@ %global END_TOKEN ### Generated by %{name} rpm package Name: bash-git-prompt -Version: 2.6.2 +Version: 2.6.3 Release: 1%{?dist} Summary: Informative git prompt for bash and fish