From 1aa6fd2c76c11c50e2c9c4ece16da3d31d93d0e51d0d1a00701bee1d875c151c Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 16 Aug 2022 04:47:20 +0000 Subject: [PATCH] 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 --- vim-plugins.changes | 5 +++++ vim-plugins.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/vim-plugins.changes b/vim-plugins.changes index 051b22e..9b28e7b 100644 --- a/vim-plugins.changes +++ b/vim-plugins.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 15 19:41:40 UTC 2022 - Dirk Müller + +- avoid bashism in post scripts (bsc#1195391) + ------------------------------------------------------------------- Fri Aug 5 09:15:57 UTC 2022 - Jiri Slaby diff --git a/vim-plugins.spec b/vim-plugins.spec index e4426dd..576a745 100644 --- a/vim-plugins.spec +++ b/vim-plugins.spec @@ -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}