diff --git a/vim.spec b/vim.spec index 8728b52..d89dc9e 100644 --- a/vim.spec +++ b/vim.spec @@ -474,10 +474,10 @@ rm -rf %{buildroot} /bin/vim vim %{_bindir}/vim-enhanced 20 %post -n gvim -/usr/sbin/update-alternatives --install \ - /bin/vim vim %{_bindir}/gvim 5 /usr/sbin/update-alternatives --install \ %{_bindir}/gvim gvim %{_bindir}/gvim-normal 5 +/usr/sbin/update-alternatives --install \ + /bin/vim vim %{_bindir}/gvim 5 %if 0%{?with_splitted_gvim} %post -n gvim-enhanced