File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -260,10 +260,10 @@ from scratch by following this procedure:
260
260
* Run the following command to create a tarball:
261
261
262
262
```` sh
263
- VER1 =$( git describe)
263
+ VER =$( git describe)
264
264
# replace dash with underscore to work around
265
265
# rpmbuild does not allow dash in version string
266
- VER=${VER1 // \- / _}
266
+ VER=${VER // \- / _}
267
267
git archive \
268
268
--format tar \
269
269
--prefix=bash-git-prompt-${VER} / \
@@ -272,6 +272,7 @@ from scratch by following this procedure:
272
272
* .py \
273
273
* .fish \
274
274
README.md \
275
+ themes \
275
276
> bash-git-prompt-${VER} .tar
276
277
mkdir -p /tmp/bash-git-prompt-${VER}
277
278
sed " s/Version:.*/Version: ${VER} /" \
@@ -317,4 +318,4 @@ I accept tips through [Gittip][tip] and [Flattr][flattr].
317
318
[ license ] :https://github.com/magicmonty/bash-git-prompt/tree/master/LICENSE.txt
318
319
[ flattr ] : https://flattr.com/submit/auto?user_id=magicmonty&url=https%3A%2F%2Fgithub.com%2Fmagicmonty%2Fbash-git-prompt
319
320
[ homebrew ] : http://brew.sh/
320
- [ upforgrabs ] : https://github.com/magicmonty/bash-git-prompt/labels/up-for-grabs
321
+ [ upforgrabs ] : https://github.com/magicmonty/bash-git-prompt/labels/up-for-grabs
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ install -pm 755 *.sh %{buildroot}%{_datadir}/%{name}
34
34
install -pm 755 *.py %{buildroot }%{_datadir }/%{name }
35
35
install -pm 755 *.fish %{buildroot }%{_datadir }/%{name }
36
36
install -pm 644 README.md %{buildroot }%{_datadir }/%{name }
37
+ install -d 755 %{buildroot }%{_datadir }/%{name }/themes
38
+ install -pm 644 themes/*.bgptheme %{buildroot }%{_datadir }/%{name }/themes
39
+ install -pm 644 themes/*.bgptemplate %{buildroot }%{_datadir }/%{name }/themes
37
40
38
41
# never include compiled Python program
39
42
rm -fr %{buildroot }%{_datadir }/%{name }/*.pyo
@@ -57,6 +60,7 @@ if [ -f %{_datadir}/%{name}/gitprompt.sh ]; then
57
60
# Set config variables first
58
61
59
62
GIT_PROMPT_ONLY_IN_REPO=1
63
+ GIT_PROMPT_THEME=Default
60
64
source %{_datadir}/%{name}/gitprompt.sh
61
65
fi
62
66
%{END_TOKEN}
You can’t perform that action at this time.
0 commit comments