Accepting request 995221 from home:dirkmueller:Factory

- avoid bashism in post scripts (bsc#1195391)

OBS-URL: https://build.opensuse.org/request/show/995221
OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=99
This commit is contained in:
Jiri Slaby 2022-08-16 04:47:20 +00:00 committed by Git OBS Bridge
parent 0501de80dc
commit 1aa6fd2c76
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 15 19:41:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
- avoid bashism in post scripts (bsc#1195391)
-------------------------------------------------------------------
Fri Aug 5 09:15:57 UTC 2022 - Jiri Slaby <jslaby@suse.cz>

View File

@ -747,7 +747,7 @@ rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
%%post %{-n:-n %{-n*}} \
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null \
%%postun %{-n:-n %{-n*}} \
if [ $1 == 0 ]; then \
if [ $1 = 0 ]; then \
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null \
fi \
%{nil}