From ecb1fd955ed4141f62aba37e5accc6ee348991c5 Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Sat, 11 Oct 2014 21:08:09 +0200 Subject: [PATCH] Added custom template and theme variable to RPM spec --- bash-git-prompt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bash-git-prompt.spec b/bash-git-prompt.spec index f2309c6..ab5f0a1 100644 --- a/bash-git-prompt.spec +++ b/bash-git-prompt.spec @@ -36,6 +36,7 @@ install -pm 755 *.fish %{buildroot}%{_datadir}/%{name} install -pm 644 README.md %{buildroot}%{_datadir}/%{name} install -d 755 %{buildroot}%{_datadir}/%{name}/themes install -pm 644 themes/*.bgptheme %{buildroot}%{_datadir}/%{name}/themes +install -pm 644 themes/*.bgptemplate %{buildroot}%{_datadir}/%{name}/themes # never include compiled Python program rm -fr %{buildroot}%{_datadir}/%{name}/*.pyo @@ -59,6 +60,7 @@ if [ -f %{_datadir}/%{name}/gitprompt.sh ]; then # Set config variables first GIT_PROMPT_ONLY_IN_REPO=1 + GIT_PROMPT_THEME=Default source %{_datadir}/%{name}/gitprompt.sh fi %{END_TOKEN}